<!doctype html><html lang="en">
 <head>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  <title>CSS Text Module Level 3</title>
  <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
  <meta content="refining" name="csswg-work-status">
  <meta content="ED" name="w3c-status">
  <meta content="This CSS module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation." name="abstract">
  <link href="../default.css" rel="stylesheet" type="text/css">
  <link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
<style>
  body {
    background: url("https://www.w3.org/StyleSheets/TR/logo-ED") top left no-repeat;
  }
  </style>
  <link href="https://www.w3.org/TR/css-text-3/" rel="canonical">
<script defer src="https://test.csswg.org/harness/annotate.js#!css-text-3_dev/css-text-3" type="text/javascript"></script>
<style type="text/css">
    img { vertical-align: middle; }
    span[lang] { font-size: 125%; line-height: 1; vertical-align: middle;}

    /* Bidi & spaces example */
    .egbidiwsaA,.egbidiwsbB,.egbidiwsaB,.egbidiwsbC
      { white-space:pre;font-size:80%;font-family:monospace; vertical-align:2px; margin:1px }
    .egbidiwsaA { background:lime;padding:2px; }
    .egbidiwsbB { border:2px solid blue }
    .egbidiwsaB { background:yellow;border:2px dotted white }
    .egbidiwsbC { border:2px dotted red }

    .hyphens-ex {
      border: thin solid black;
      display: inline-block;
      padding: 4pt;
    }

    /* Start Letter-spacing Tutorial */
    .ls-ex {
      font-size: 200%;
      margin-left: 1em;
      margin-right: 1em;
    }
    .ls-fixed-width {
      width: 10em;
    }
    .color-box { background: rgb(224, 203, 82); }
    .bad { color: red; }
    .good { color: green; }
    /* End Letter-spacing Tutorial */

    .char { border: 1px dotted gray; }
    .quarter { font-size: 25%; }
    tt[lang="ja"] { font-family: "MS Gothic", "Osaka", monospace }
    div.figure table {
      margin :auto;
    }
    .feedback {
      background: #FFEECC;
      border-color: orange;
    }
    .feedback:before {
      content: "Info Needed";
      color: #FF8800;
    }
    .data .no { color: red; }
    .data .ok { color: green; }
    .data th em { display: block; font-size: smaller; font-weight: normal; font-style: italic; }
  </style>
<style>
      #jp-title-break td samp,
      #jp-title-break td pre {
        font-size: 1.5em;
        width: 9em;
        line-height: 2;
        padding: 0.5em 1em;
        display: block;
        margin: auto;
        border: solid gray 1px;
        background: white;
      }
      </style>
<style>
.pairs-table th {
  text-align: center;
}
</style>
<style>/* style-md-lists */

/* This is a weird hack for me not yet following the commonmark spec
   regarding paragraph and lists. */
[data-md] > :first-child {
    margin-top: 0;
}
[data-md] > :last-child {
    margin-bottom: 0;
}</style>
<style>/* style-selflinks */

.heading, .issue, .note, .example, li, dt {
    position: relative;
}
a.self-link {
    position: absolute;
    top: 0;
    left: calc(-1 * (3.5rem - 26px));
    width: calc(3.5rem - 26px);
    height: 2em;
    text-align: center;
    border: none;
    transition: opacity .2s;
    opacity: .5;
}
a.self-link:hover {
    opacity: 1;
}
.heading > a.self-link {
    font-size: 83%;
}
li > a.self-link {
    left: calc(-1 * (3.5rem - 26px) - 2em);
}
dfn > a.self-link {
    top: auto;
    left: auto;
    opacity: 0;
    width: 1.5em;
    height: 1.5em;
    background: gray;
    color: white;
    font-style: normal;
    transition: opacity .2s, background-color .2s, color .2s;
}
dfn:hover > a.self-link {
    opacity: 1;
}
dfn > a.self-link:hover {
    color: black;
}

a.self-link::before            { content: "¶"; }
.heading > a.self-link::before { content: "§"; }
dfn > a.self-link::before      { content: "#"; }</style>
<style>/* style-caniuse-panel */

            .caniuse-status { font: 1em sans-serif; width: 9em; padding: 0.3em; position: absolute; z-index: 8; top: auto; right: 0.3em; background: #EEE; color: black; box-shadow: 0 0 3px #999; overflow: hidden; border-collapse: initial; border-spacing: initial; }
            .caniuse-status.wrapped { width: 1em; height: 1em; }
            .caniuse-status.wrapped > :not(input) { display: none; }
            .caniuse-status > input { position: absolute; right: 0; top: 0; width: 1em; height: 1em; border: none; background: transparent; padding: 0; margin: 0; }
            .caniuse-status > p { font-size: 0.6em; margin: 0; padding: 0; }
            .caniuse-status > p + p { padding-top: 0.5em; }
            .caniuse-status > .support { display: block; }
            .caniuse-status > .support > span { padding: 0.2em 0; display: block; display: table; }
            .caniuse-status > .support > span.partial { color: #666666; filter: grayscale(50%); }
            .caniuse-status > .support > span.no { color: #CCCCCC; filter: grayscale(100%); }
            .canisue-status > .support > span.no::before { opacity: 0.5; }
            .caniuse-status > .support > span:first-of-type { padding-top: 0.5em; }
            .caniuse-status > .support > span > span { padding: 0 0.5em; display: table-cell; vertical-align: top; }
            .caniuse-status > .support > span > span:first-child { width: 100%; }
            .caniuse-status > .support > span > span:last-child { width: 100%; white-space: pre; padding: 0; }
            .caniuse-status > .support > span::before { content: ' '; display: table-cell; min-width: 1.5em; height: 1.5em; background: no-repeat center center; background-size: contain; text-align: right; font-size: 0.75em; font-weight: bold; }
            .caniuse-status > .support > .and_chr::before { background-image: url(https://resources.whatwg.org/browser-logos/chrome.svg); }
            .caniuse-status > .support > .and_ff::before { background-image: url(https://resources.whatwg.org/browser-logos/firefox.png); }
            .caniuse-status > .support > .and_uc::before { background-image: url(https://resources.whatwg.org/browser-logos/uc.png); } /* UC Browser for Android */
            .caniuse-status > .support > .android::before { background-image: url(https://resources.whatwg.org/browser-logos/android.svg); }
            .caniuse-status > .support > .bb::before { background-image: url(https://resources.whatwg.org/browser-logos/bb.jpg); } /* Blackberry Browser */
            .caniuse-status > .support > .chrome::before { background-image: url(https://resources.whatwg.org/browser-logos/chrome.svg); }
            .caniuse-status > .support > .edge::before { background-image: url(https://resources.whatwg.org/browser-logos/edge.svg); }
            .caniuse-status > .support > .firefox::before { background-image: url(https://resources.whatwg.org/browser-logos/firefox.png); }
            .caniuse-status > .support > .ie::before { background-image: url(https://resources.whatwg.org/browser-logos/ie.png); }
            .caniuse-status > .support > .ie_mob::before { background-image: url(https://resources.whatwg.org/browser-logos/ie-mobile.svg); }
            .caniuse-status > .support > .ios_saf::before { background-image: url(https://resources.whatwg.org/browser-logos/safari-ios.svg); }
            .caniuse-status > .support > .op_mini::before { background-image: url(https://resources.whatwg.org/browser-logos/opera-mini.png); }
            .caniuse-status > .support > .op_mob::before { background-image: url(https://resources.whatwg.org/browser-logos/opera.svg); }
            .caniuse-status > .support > .opera::before { background-image: url(https://resources.whatwg.org/browser-logos/opera.svg); }
            .caniuse-status > .support > .safari::before { background-image: url(https://resources.whatwg.org/browser-logos/safari.png); }
            .caniuse-status > .support > .samsung::before { background-image: url(https://resources.whatwg.org/browser-logos/samsung.svg); }
            .caniuse-status > .caniuse { text-align: right; font-style: italic; }
            @media (max-width: 767px) {
                .caniuse-status.wrapped { width: 9em; height: auto; }
                .caniuse-status:not(.wrapped) { width: 1em; height: 1em; }
                .caniuse-status.wrapped > :not(input) { display: block; }
                .caniuse-status:not(.wrapped) > :not(input) { display: none; }
            }</style>
<style>/* style-counters */

body {
    counter-reset: example figure issue;
}
.issue {
    counter-increment: issue;
}
.issue:not(.no-marker)::before {
    content: "Issue " counter(issue);
}

.example {
    counter-increment: example;
}
.example:not(.no-marker)::before {
    content: "Example " counter(example);
}
.invalid.example:not(.no-marker)::before,
.illegal.example:not(.no-marker)::before {
    content: "Invalid Example" counter(example);
}

figcaption {
    counter-increment: figure;
}
figcaption:not(.no-marker)::before {
    content: "Figure " counter(figure) " ";
}</style>
<style>/* style-autolinks */

.css.css, .property.property, .descriptor.descriptor {
    color: #005a9c;
    font-size: inherit;
    font-family: inherit;
}
.css::before, .property::before, .descriptor::before {
    content: "‘";
}
.css::after, .property::after, .descriptor::after {
    content: "’";
}
.property, .descriptor {
    /* Don't wrap property and descriptor names */
    white-space: nowrap;
}
.type { /* CSS value <type> */
    font-style: italic;
}
pre .property::before, pre .property::after {
    content: "";
}
[data-link-type="property"]::before,
[data-link-type="propdesc"]::before,
[data-link-type="descriptor"]::before,
[data-link-type="value"]::before,
[data-link-type="function"]::before,
[data-link-type="at-rule"]::before,
[data-link-type="selector"]::before,
[data-link-type="maybe"]::before {
    content: "‘";
}
[data-link-type="property"]::after,
[data-link-type="propdesc"]::after,
[data-link-type="descriptor"]::after,
[data-link-type="value"]::after,
[data-link-type="function"]::after,
[data-link-type="at-rule"]::after,
[data-link-type="selector"]::after,
[data-link-type="maybe"]::after {
    content: "’";
}

[data-link-type].production::before,
[data-link-type].production::after,
.prod [data-link-type]::before,
.prod [data-link-type]::after {
    content: "";
}

[data-link-type=element],
[data-link-type=element-attr] {
    font-family: Menlo, Consolas, "DejaVu Sans Mono", monospace;
    font-size: .9em;
}
[data-link-type=element]::before { content: "<" }
[data-link-type=element]::after  { content: ">" }

[data-link-type=biblio] {
    white-space: pre;
}</style>
<style>/* style-dfn-panel */

.dfn-panel {
    position: absolute;
    z-index: 35;
    height: auto;
    width: -webkit-fit-content;
    width: fit-content;
    max-width: 300px;
    max-height: 500px;
    overflow: auto;
    padding: 0.5em 0.75em;
    font: small Helvetica Neue, sans-serif, Droid Sans Fallback;
    background: #DDDDDD;
    color: black;
    border: outset 0.2em;
}
.dfn-panel:not(.on) { display: none; }
.dfn-panel * { margin: 0; padding: 0; text-indent: 0; }
.dfn-panel > b { display: block; }
.dfn-panel a { color: black; }
.dfn-panel a:not(:hover) { text-decoration: none !important; border-bottom: none !important; }
.dfn-panel > b + b { margin-top: 0.25em; }
.dfn-panel ul { padding: 0; }
.dfn-panel li { list-style: inside; }
.dfn-panel.activated {
    display: inline-block;
    position: fixed;
    left: .5em;
    bottom: 2em;
    margin: 0 auto;
    max-width: calc(100vw - 1.5em - .4em - .5em);
    max-height: 30vh;
}

.dfn-paneled { cursor: pointer; }
</style>
<style>/* style-syntax-highlighting */

.highlight:not(.idl) { background: hsl(24, 20%, 95%); }
code.highlight { padding: .1em; border-radius: .3em; }
pre.highlight, pre > code.highlight { display: block; padding: 1em; margin: .5em 0; overflow: auto; border-radius: 0; }
c-[a] { color: #990055 } /* Keyword.Declaration */
c-[b] { color: #990055 } /* Keyword.Type */
c-[c] { color: #708090 } /* Comment */
c-[d] { color: #708090 } /* Comment.Multiline */
c-[e] { color: #0077aa } /* Name.Attribute */
c-[f] { color: #669900 } /* Name.Tag */
c-[g] { color: #222222 } /* Name.Variable */
c-[k] { color: #990055 } /* Keyword */
c-[l] { color: #000000 } /* Literal */
c-[m] { color: #000000 } /* Literal.Number */
c-[n] { color: #0077aa } /* Name */
c-[o] { color: #999999 } /* Operator */
c-[p] { color: #999999 } /* Punctuation */
c-[s] { color: #a67f59 } /* Literal.String */
c-[t] { color: #a67f59 } /* Literal.String.Single */
c-[u] { color: #a67f59 } /* Literal.String.Double */
c-[cp] { color: #708090 } /* Comment.Preproc */
c-[c1] { color: #708090 } /* Comment.Single */
c-[cs] { color: #708090 } /* Comment.Special */
c-[kc] { color: #990055 } /* Keyword.Constant */
c-[kn] { color: #990055 } /* Keyword.Namespace */
c-[kp] { color: #990055 } /* Keyword.Pseudo */
c-[kr] { color: #990055 } /* Keyword.Reserved */
c-[ld] { color: #000000 } /* Literal.Date */
c-[nc] { color: #0077aa } /* Name.Class */
c-[no] { color: #0077aa } /* Name.Constant */
c-[nd] { color: #0077aa } /* Name.Decorator */
c-[ni] { color: #0077aa } /* Name.Entity */
c-[ne] { color: #0077aa } /* Name.Exception */
c-[nf] { color: #0077aa } /* Name.Function */
c-[nl] { color: #0077aa } /* Name.Label */
c-[nn] { color: #0077aa } /* Name.Namespace */
c-[py] { color: #0077aa } /* Name.Property */
c-[ow] { color: #999999 } /* Operator.Word */
c-[mb] { color: #000000 } /* Literal.Number.Bin */
c-[mf] { color: #000000 } /* Literal.Number.Float */
c-[mh] { color: #000000 } /* Literal.Number.Hex */
c-[mi] { color: #000000 } /* Literal.Number.Integer */
c-[mo] { color: #000000 } /* Literal.Number.Oct */
c-[sb] { color: #a67f59 } /* Literal.String.Backtick */
c-[sc] { color: #a67f59 } /* Literal.String.Char */
c-[sd] { color: #a67f59 } /* Literal.String.Doc */
c-[se] { color: #a67f59 } /* Literal.String.Escape */
c-[sh] { color: #a67f59 } /* Literal.String.Heredoc */
c-[si] { color: #a67f59 } /* Literal.String.Interpol */
c-[sx] { color: #a67f59 } /* Literal.String.Other */
c-[sr] { color: #a67f59 } /* Literal.String.Regex */
c-[ss] { color: #a67f59 } /* Literal.String.Symbol */
c-[vc] { color: #0077aa } /* Name.Variable.Class */
c-[vg] { color: #0077aa } /* Name.Variable.Global */
c-[vi] { color: #0077aa } /* Name.Variable.Instance */
c-[il] { color: #000000 } /* Literal.Number.Integer.Long */
</style>
<style>/* style-wpt */

.wpt-tests-block {
	list-style: none;
	border-left: .5em solid hsl(290, 70%, 60%);
	background: hsl(290, 70%, 95%);
	margin: 1em auto;
	padding: .5em;
	display: grid;
	grid-template-columns: 1fr auto auto;
	grid-column-gap: .5em;
}
.wpt-tests-block::before {
	content: "Tests";
	grid-column: 1/-1;
	color: hsl(290, 70%, 30%);
	text-transform: uppercase;
}
.wpt-test {
	display: contents;
}
.wpt-test > a {
	text-decoration: underline;
	border: none;
}
</style>
 <body class="h-entry">
  <div class="head">
   <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
   <h1 class="p-name no-ref" id="title">CSS Text Module Level 3</h1>
   <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="1970-01-01">1 January 1970</time></span></h2>
   <details>
    <summary>Specification Metadata</summary>
    <div data-fill-with="spec-metadata">
     <dl>
      <dt>This version:
      <dd><a class="u-url" href="https://drafts.csswg.org/css-text-3/">https://drafts.csswg.org/css-text-3/</a>
      <dt>Latest published version:
      <dd><a href="https://www.w3.org/TR/css-text-3/">https://www.w3.org/TR/css-text-3/</a>
      <dt>Previous Versions:
      <dd><a href="https://www.w3.org/TR/2019/WD-css-text-3-20191113/" rel="prev">https://www.w3.org/TR/2019/WD-css-text-3-20191113/</a>
      <dd><a href="https://www.w3.org/TR/2018/WD-css-text-3-20181212/" rel="prev">https://www.w3.org/TR/2018/WD-css-text-3-20181212/</a>
      <dd><a href="https://www.w3.org/TR/2018/WD-css-text-3-20181206/" rel="prev">https://www.w3.org/TR/2018/WD-css-text-3-20181206/</a>
      <dd><a href="https://www.w3.org/TR/2018/WD-css-text-3-20180920/" rel="prev">https://www.w3.org/TR/2018/WD-css-text-3-20180920/</a>
      <dd><a href="https://www.w3.org/TR/2017/WD-css-text-3-20170822/" rel="prev">https://www.w3.org/TR/2017/WD-css-text-3-20170822/</a>
      <dd><a href="https://www.w3.org/TR/2013/WD-css-text-3-20131010/" rel="prev">https://www.w3.org/TR/2013/WD-css-text-3-20131010/</a>
      <dd><a href="https://www.w3.org/TR/2012/WD-css3-text-20121113/" rel="prev">https://www.w3.org/TR/2012/WD-css3-text-20121113/</a>
      <dt>Test Suite:
      <dd><a href="http://test.csswg.org/suites/css3-text/nightly-unstable/">http://test.csswg.org/suites/css3-text/nightly-unstable/</a>
      <dt>Issue Tracking:
      <dd><a href="http://www.w3.org/Style/CSS/Tracker/products/10">Tracker</a>
      <dd><a href="https://github.com/w3c/csswg-drafts/labels/css-text-3">GitHub Issues</a>
      <dt class="editor">Editors:
      <dd class="editor p-author h-card vcard" data-editor-id="35400"><a class="p-name fn u-url url" href="http://fantasai.inkedblade.net/contact">Elika J. Etemad / fantasai</a> (<span class="p-org org">Invited Expert</span>)
      <dd class="editor p-author h-card vcard" data-editor-id="45369"><a class="p-name fn u-email email" href="mailto:kojiishi@gluesoft.co.jp">Koji Ishii</a> (<span class="p-org org">Invited Expert</span>)
      <dd class="editor p-author h-card vcard" data-editor-id="43241"><a class="p-name fn u-url url" href="https://florian.rivoal.net">Florian Rivoal</a> (<span class="p-org org">Invited Expert</span>)
      <dt>Suggest an Edit for this Spec:
      <dd><a href="https://github.com/w3c/csswg-drafts/blob/master/css-text-3/Overview.bs">GitHub Editor</a>
     </dl>
    </div>
   </details>
   <div data-fill-with="warning"></div>
   <p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 1970 <a href="https://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="https://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="https://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="https://www.keio.ac.jp/">Keio</a>, <a href="https://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document">permissive document license</a> rules apply. </p>
   <hr title="Separator for header">
  </div>
  <div class="p-summary" data-fill-with="abstract">
   <h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="content">Abstract</span></h2>
   <p>This CSS module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation.</p>
    <a href="https://www.w3.org/TR/CSS/">CSS</a> is a language for describing the rendering of structured documents
(such as HTML and XML)
on screen, on paper, etc. 
  </div>
  <h2 class="no-num no-toc no-ref heading settled" id="status"><span class="content">Status of this document</span></h2>
  <div data-fill-with="status">
   <p> This is a public copy of the editors’ draft.
	It is provided for discussion only and may change at any moment.
	Its publication here does not imply endorsement of its contents by W3C.
	Don’t cite this document other than as work in progress. </p>
   <p> <a href="https://github.com/w3c/csswg-drafts/issues">GitHub Issues</a> are preferred for discussion of this specification.
	When filing an issue, please put the text “css-text” in the title,
	preferably like this:
	“[css-text] <i data-lt>…summary of comment…</i>”.
	All issues and comments are <a href="https://lists.w3.org/Archives/Public/public-css-archive/">archived</a>,
	and there is also a <a href="https://lists.w3.org/Archives/Public/www-style/">historical archive</a>. </p>
   <p> This document was produced by the <a href="https://www.w3.org/Style/CSS/">CSS Working Group</a>. </p>
   <p> This document was produced by a group operating under
	the <a href="https://www.w3.org/Consortium/Patent-Policy/">W3C Patent Policy</a>.
	W3C maintains a <a href="https://www.w3.org/2004/01/pp-impl/32061/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group;
	that page also includes instructions for disclosing a patent.
	An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>
   <p> This document is governed by the <a href="https://www.w3.org/2019/Process-20190301/" id="w3c_process_revision">1 March 2019 W3C Process Document</a>. </p>
   <p></p>
   <p>This publication partially addresses the issues in the <a href="https://drafts.csswg.org/css-text-3/issues-lc-2013">disposition of comments</a> since the <a href="https://www.w3.org/TR/2013/WD-css-text-3-20131010/">October 2013 Last Call Working Draft</a>, and, while a marked improvement over the previous draft, is not considered to be entirely up-to-date at the time of publication. A completed dispostion of comments and corresponding draft will be published once the issues are fully addressed and reviewed by the CSSWG and Internationalization WG.</p>
  </div>
  <div data-fill-with="at-risk">
   <p>The following features are at-risk, and may be dropped during the CR period: </p>
   <ul>
    <li>the <a class="css" data-link-type="maybe" href="#valdef-text-transform-full-width" id="ref-for-valdef-text-transform-full-width">full-width</a> value of <a class="property" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform">text-transform</a>
    <li>the <a class="css" data-link-type="maybe" href="#valdef-text-transform-full-size-kana" id="ref-for-valdef-text-transform-full-size-kana">full-size-kana</a> value of <a class="property" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform①">text-transform</a>
    <li>the &lt;length> values of the <a class="property" data-link-type="propdesc" href="#propdef-tab-size" id="ref-for-propdef-tab-size">tab-size</a> property
    <li>the <a class="property" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify">text-justify</a> property
    <li>the percentage values of <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing">word-spacing</a>
    <li>the <a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation">hanging-punctuation</a> property
    <li>the <a class="css" data-link-type="maybe" href="#valdef-line-break-anywhere" id="ref-for-valdef-line-break-anywhere">anywhere</a> value of the <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break">line-break</a> property
   </ul>
   <p>“At-risk” is a W3C Process term-of-art, and does not necessarily imply that the feature is in danger of being dropped or delayed. It means that the WG believes the feature may have difficulty being interoperably implemented in a timely manner, and marking it as such allows the WG to drop the feature if necessary when transitioning to the Proposed Rec stage, without having to publish a new Candidate Rec without the feature first.</p>
  </div>
  <nav data-fill-with="table-of-contents" id="toc">
   <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
   <ol class="toc" role="directory">
    <li>
     <a href="#intro"><span class="secno">1</span> <span class="content"> Introduction</span></a>
     <ol class="toc">
      <li><a href="#placement"><span class="secno">1.1</span> <span class="content"> Module Interactions</span></a>
      <li><a href="#values"><span class="secno">1.2</span> <span class="content"> Values</span></a>
      <li><a href="#languages"><span class="secno">1.3</span> <span class="content"> Languages and Typesetting</span></a>
      <li><a href="#characters"><span class="secno">1.4</span> <span class="content"> Characters and Letters</span></a>
      <li><a href="#text-encoding"><span class="secno">1.5</span> <span class="content"> Text Processing</span></a>
     </ol>
    <li>
     <a href="#transforming"><span class="secno">2</span> <span class="content"> Transforming Text</span></a>
     <ol class="toc">
      <li><a href="#text-transform-property"><span class="secno">2.1</span> <span class="content"> Case Transforms: the <span class="property">text-transform</span> property</span></a>
     </ol>
    <li><a href="#white-space-property"><span class="secno">3</span> <span class="content"> White Space and Wrapping: the <span class="property">white-space</span> property</span></a>
    <li>
     <a href="#white-space-processing"><span class="secno">4</span> <span class="content"> White Space Processing Details</span></a>
     <ol class="toc">
      <li>
       <a href="#white-space-rules"><span class="secno">4.1</span> <span class="content"> The White Space Processing Rules</span></a>
       <ol class="toc">
        <li><a href="#white-space-phase-1"><span class="secno">4.1.1</span> <span class="content">Phase I: Collapsing and Transformation</span></a>
        <li><a href="#line-break-transform"><span class="secno">4.1.2</span> <span class="content"> Segment Break Transformation Rules</span></a>
        <li><a href="#white-space-phase-2"><span class="secno">4.1.3</span> <span class="content">Phase II: Trimming and Positioning</span></a>
       </ol>
      <li><a href="#tab-size-property"><span class="secno">4.2</span> <span class="content"> Tab Character Size: the <span class="property">tab-size</span> property</span></a>
     </ol>
    <li>
     <a href="#line-breaking"><span class="secno">5</span> <span class="content"> Line Breaking and Word Boundaries</span></a>
     <ol class="toc">
      <li><a href="#line-break-details"><span class="secno">5.1</span> <span class="content"> Line Breaking Details</span></a>
      <li><a href="#word-break-property"><span class="secno">5.2</span> <span class="content"> Breaking Rules for Letters: the <span class="property">word-break</span> property</span></a>
      <li><a href="#line-break-property"><span class="secno">5.3</span> <span class="content"> Line Breaking Strictness: the <span class="property">line-break</span> property</span></a>
      <li><a href="#hyphenation"><span class="secno">5.4</span> <span class="content"> Hyphenation: the <span class="property">hyphens</span> property</span></a>
      <li><a href="#overflow-wrap-property"><span class="secno">5.5</span> <span class="content"> Overflow Wrapping: the <span class="property">overflow-wrap</span>/<span class="property">word-wrap</span> property</span></a>
      <li><a href="#word-break-shaping"><span class="secno">5.6</span> <span class="content"> Shaping Across Intra-word Breaks</span></a>
     </ol>
    <li>
     <a href="#justification"><span class="secno">6</span> <span class="content"> Alignment and Justification</span></a>
     <ol class="toc">
      <li><a href="#text-align-property"><span class="secno">6.1</span> <span class="content"> Text Alignment: the <span class="property">text-align</span> shorthand</span></a>
      <li><a href="#text-align-all-property"><span class="secno">6.2</span> <span class="content"> Default Text Alignment: the <span class="property">text-align-all</span> property</span></a>
      <li><a href="#text-align-last-property"><span class="secno">6.3</span> <span class="content"> Last Line Alignment: the <span class="property">text-align-last</span> property</span></a>
      <li>
       <a href="#text-justify-property"><span class="secno">6.4</span> <span class="content"> Justification Method: the <span class="property">text-justify</span> property</span></a>
       <ol class="toc">
        <li><a href="#expanding-text"><span class="secno">6.4.1</span> <span class="content"> Expanding and Compressing Text</span></a>
        <li><a href="#justify-symbols"><span class="secno">6.4.2</span> <span class="content"> Handling Symbols and Punctuation</span></a>
        <li><a href="#justify-limits"><span class="secno">6.4.3</span> <span class="content"> Unexpandable Text</span></a>
        <li><a href="#justify-cursive"><span class="secno">6.4.4</span> <span class="content"> Cursive Scripts</span></a>
        <li><a href="#justify-algos"><span class="secno">6.4.5</span> <span class="content"> Minimum Requirements for <span class="css">auto</span> Justification</span></a>
       </ol>
     </ol>
    <li>
     <a href="#spacing"><span class="secno">7</span> <span class="content"> Spacing</span></a>
     <ol class="toc">
      <li><a href="#word-spacing-property"><span class="secno">7.1</span> <span class="content"> Word Spacing: the <span class="property">word-spacing</span> property</span></a>
      <li>
       <a href="#letter-spacing-property"><span class="secno">7.2</span> <span class="content"> Tracking: the <span class="property">letter-spacing</span> property</span></a>
       <ol class="toc">
        <li><a href="#cursive-tracking"><span class="secno">7.2.1</span> <span class="content"> Cursive Scripts</span></a>
       </ol>
      <li><a href="#boundary-shaping"><span class="secno">7.3</span> <span class="content"> Shaping Across Element Boundaries</span></a>
     </ol>
    <li>
     <a href="#edge-effects"><span class="secno">8</span> <span class="content"> Edge Effects</span></a>
     <ol class="toc">
      <li><a href="#text-indent-property"><span class="secno">8.1</span> <span class="content"> First Line Indentation: the <span class="property">text-indent</span> property</span></a>
      <li>
       <a href="#hanging"><span class="secno">8.2</span> <span class="content"> Hanging Glyphs</span></a>
       <ol class="toc">
        <li><a href="#hanging-punctuation-property"><span class="secno">8.2.1</span> <span class="content"> Hanging Punctuation: the <span class="property">hanging-punctuation</span> property</span></a>
       </ol>
      <li><a href="#bidi-linebox"><span class="secno">8.3</span> <span class="content"> Bidirectionality and Line Boxes</span></a>
     </ol>
    <li><a href="#order"><span class="secno"></span> <span class="content">Appendix A:
Text Processing Order of Operations</span></a>
    <li><a href="#plaintext"><span class="secno"></span> <span class="content"> Appendix B: Conversion to Plaintext</span></a>
    <li><a href="#default-stylesheet"><span class="secno"></span> <span class="content"> Appendix C: Default UA Stylesheet</span></a>
    <li><a href="#script-groups"><span class="secno"></span> <span class="content"> Appendix D: Scripts and Spacing</span></a>
    <li><a href="#character-properties"><span class="secno"></span> <span class="content">Appendix E.
Characters and Properties</span></a>
    <li><a href="#script-tagging"><span class="secno"></span> <span class="content">Appendix F.
Tagging Content by Writing System</span></a>
    <li><a href="#small-kana"><span class="secno"></span> <span class="content">Appendix G.
Small Kana Mappings</span></a>
    <li><a href="#priv-sec"><span class="secno"></span> <span class="content"> Privacy and Security Considerations</span></a>
    <li><a href="#acknowledgements"><span class="secno"></span> <span class="content"> Acknowledgements</span></a>
    <li>
     <a href="#changes"><span class="secno"></span> <span class="content"> Changes</span></a>
     <ol class="toc">
      <li><a href="#changes-2018-12-12"><span class="secno"></span> <span class="content"> Changes from the <span>12 December 2018 Working Draft</span></span></a>
      <li><a href="#changes-2018-12-06"><span class="secno"></span> <span class="content"> Changes from the <span>6 December 2018 Working Draft</span></span></a>
      <li><a href="#changes-2013"><span class="secno"></span> <span class="content"> Changes from the <span>October
  2013 CSS3 Text <abbr title="Last Call Working Draft">LCWD</abbr></span></span></a>
     </ol>
    <li>
     <a href="#conformance"><span class="secno"></span> <span class="content"> Conformance</span></a>
     <ol class="toc">
      <li><a href="#document-conventions"><span class="secno"></span> <span class="content"> Document conventions</span></a>
      <li><a href="#conform-classes"><span class="secno"></span> <span class="content"> Conformance classes</span></a>
      <li>
       <a href="#conform-responsible"><span class="secno"></span> <span class="content"> Requirements for Responsible Implementation of CSS</span></a>
       <ol class="toc">
        <li><a href="#conform-partial"><span class="secno"></span> <span class="content"> Partial Implementations</span></a>
        <li><a href="#conform-future-proofing"><span class="secno"></span> <span class="content"> Implementations of Unstable and Proprietary Features</span></a>
        <li><a href="#conform-testing"><span class="secno"></span> <span class="content"> Implementations of CR-level Features</span></a>
       </ol>
     </ol>
    <li>
     <a href="#index"><span class="secno"></span> <span class="content">Index</span></a>
     <ol class="toc">
      <li><a href="#index-defined-here"><span class="secno"></span> <span class="content">Terms defined by this specification</span></a>
      <li><a href="#index-defined-elsewhere"><span class="secno"></span> <span class="content">Terms defined by reference</span></a>
     </ol>
    <li>
     <a href="#references"><span class="secno"></span> <span class="content">References</span></a>
     <ol class="toc">
      <li><a href="#normative"><span class="secno"></span> <span class="content">Normative References</span></a>
      <li><a href="#informative"><span class="secno"></span> <span class="content">Informative References</span></a>
     </ol>
    <li><a href="#property-index"><span class="secno"></span> <span class="content">Property Index</span></a>
    <li><a href="#issues-index"><span class="secno"></span> <span class="content">Issues Index</span></a>
   </ol>
  </nav>
  <main>
   <h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </span><span class="content"> Introduction</span><a class="self-link" href="#intro"></a></h2>
   <p>This module describes the typesetting controls of CSS;
  that is, the features of CSS that control the translation of
  source text to formatted, line-wrapped text.
  Various CSS properties provide control over <a href="#transforming">case transformation</a>, <a href="#white-space" id="ref-for-white-space">white space collapsing</a>, <a href="#white-space" id="ref-for-white-space②⑨">text wrapping</a>, <a href="#line-breaking">line breaking rules</a> and <a href="#hyphenation">hyphenation</a>, <a href="#justification">alignment and justification</a>, <a href="#spacing">spacing</a>,
  and <a href="#edge-effects">indentation</a>. </p>
   <div class="note" role="note">
    <p>Note: Font selection is covered in <a href="https://www.w3.org/TR/css-fonts-3/">CSS Fonts Level 3</a> <a data-link-type="biblio" href="#biblio-css-fonts-3">[CSS-FONTS-3]</a>. </p>
    <p> <span id="decoration"></span> <span id="text-decoration"></span> <span id="line-decoration"></span> <span id="text-decoration-line"></span> <span id="text-decoration-color"></span> <span id="text-decoration-style"></span> <span id="text-decoration-skip"></span> <span id="text-underline-position"></span> <span id="emphasis-marks"></span> <span id="text-emphasis-style"></span> <span id="text-emphasis-color"></span> <span id="text-emphasis"></span> <span id="text-emphasis-position"></span> <span id="text-shadow"></span> Features for decorating text,
    such as <a href="https://www.w3.org/TR/css-text-decor-3/#line-decoration">underlines</a>, <a href="https://www.w3.org/TR/css-text-decor-3/#emphasis-marks">emphasis marks</a>,
    and <a href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property">shadows</a>,
    (previously part of this module)
    are covered in <a href="https://www.w3.org/TR/css-text-decor-3/">CSS Text Decoration Level 3</a> <a data-link-type="biblio" href="#biblio-css-text-decor-3">[CSS-TEXT-DECOR-3]</a>. </p>
    <p><a href="https://www.w3.org/TR/css-writing-modes-3/#text-direction">Bidirectional</a> and <a href="https://www.w3.org/TR/css-writing-modes-3/#vertical-intro">vertical</a> text
    are addressed in <a href="https://www.w3.org/TR/css-writing-modes-3/">CSS Writing Modes Level 3</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a>. </p>
   </div>
   <p>Further information about the typesetting requirements
  of various languages and writing systems around the world
  can be found in the <a href="https://www.w3.org/International/core/">Internationalization Working Group</a>’s <a href="https://www.w3.org/TR/typography/">Typography Index</a>. <a data-link-type="biblio" href="#biblio-typography">[TYPOGRAPHY]</a></p>
   <h3 class="heading settled" data-level="1.1" id="placement"><span class="secno">1.1. </span><span class="content"> Module Interactions</span><a class="self-link" href="#placement"></a></h3>
   <p>This module, together with <a data-link-type="biblio" href="#biblio-css-text-decor-3">[CSS-TEXT-DECOR-3]</a>,
  replaces and extends the text-level features defined in <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> chapter 16. </p>
   <p>In addition to the terms defined below,
    other terminology and concepts used in this specification are defined
    in <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> and <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a>. </p>
   <h3 class="heading settled" data-level="1.2" id="values"><span class="secno">1.2. </span><span class="content"> Values</span><a class="self-link" href="#values"></a></h3>
   <p>This specification follows the <a href="https://www.w3.org/TR/CSS2/about.html#property-defs">CSS property definition conventions</a> from <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a>.
  Value types not defined in this specification are defined in CSS Values &amp; Units <a data-link-type="biblio" href="#biblio-css-values-3">[CSS-VALUES-3]</a>.
  Other CSS modules may expand the definitions of these value types.</p>
   <p>In addition to the property-specific values listed in their definitions,
  all properties defined in this specification
  also accept the <a data-link-type="dfn" href="https://drafts.csswg.org/css-values-4/#css-wide-keywords" id="ref-for-css-wide-keywords">CSS-wide keywords</a> keywords as their property value.
  For readability they have not been repeated explicitly.</p>
   <h3 class="heading settled" data-level="1.3" id="languages"><span class="secno">1.3. </span><span class="content"> Languages and Typesetting</span><a class="self-link" href="#languages"></a></h3>
   <p><strong class="advisement"> Authors should language-tag their content accurately for the best typographic behavior. </strong> </p>
   <p>The <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="content-language">content language</dfn> of an element is the (human) language
    the element is declared to be in, according to the rules of the <a href="https://www.w3.org/TR/CSS2/conform.html#doclanguage">document language</a>.
    For example, the rules for determining the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language">content language</a> of an HTML
    are <a href="https://html.spec.whatwg.org/multipage/dom.html#language">defined</a> in <a data-link-type="biblio" href="#biblio-html">[HTML]</a>,
    and the rules for determining the <span id="ref-for-content-language①">content language</span> of an XML element use
    are <a href="https://www.w3.org/TR/REC-xml/#sec-lang-tag">defined</a> in <a data-link-type="biblio" href="#biblio-xml10">[XML10]</a>.
    Note that it is possible for the <span id="ref-for-content-language②">content language</span> of an element
    to be unknown—<wbr>e.g. untagged content,
    or content in a <a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#document-language" id="ref-for-document-language">document language</a> that does not have a language-tagging facility
    is considered to have an unknown <span id="ref-for-content-language③">content language</span>. </p>
   <p class="note" role="note"><span>Note:</span> Authors can tag content using the global <code>lang</code> attribute in HTML,
    the universal <code>xml:lang</code> attribute in XML,
    and the HTTP <code>Content-Language</code> header for content served over HTTP.</p>
   <p>The <a data-link-type="dfn" href="#content-language" id="ref-for-content-language④">content language</a> an element is declared to be in
    also identifies the specific written form of that language used in that element,
    known as the <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-local-lt="writing system" id="content-writing-system">content writing system</dfn>.</p>
   <p class="note" role="note"><span>Note:</span> Depending on the <a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#document-language" id="ref-for-document-language①">document language</a>'s facilities for identifying the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language⑤">content language</a>,
    information about the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system">writing system</a> may only be carried implicitly.
    That is typically the case with the <a data-link-type="biblio" href="#biblio-bcp47">[BCP47]</a> language tag used in <a data-link-type="biblio" href="#biblio-html">[HTML]</a>,
    although it can optionally indicate the <span id="ref-for-content-writing-system①">writing system</span> explicitly
    using a script subtag.</p>
   <p>Language and writing system conventions can affect
    line breaking, hyphenation, justification, glyph selection,
    and many other typographic effects. <strong>In CSS, language-specific typographic tailorings
    are only applied when the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language⑥">content language</a> is known (declared).</strong> Therefore,
    higher quality typography requires authors to communicate to the UA
    the correct linguistic context of the text in the document.</p>
   <p>More information about language tags and their interpretation,
    particularly the use of script tags for atypical language + writing-system combinations,
    can be found in <a href="#script-tagging">Appendix F.
Tagging Content by Writing System</a>.</p>
   <h3 class="heading settled" data-level="1.4" id="characters"><span class="secno">1.4. </span><span class="content"> Characters and Letters</span><a class="self-link" href="#characters"></a></h3>
   <p>The basic unit of typesetting is the <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="character">character</dfn>.
  However, because writing systems are not always as simple as the basic English alphabet,
  what a <a data-link-type="dfn" href="#character" id="ref-for-character">character</a> actually is depends on the context in which the term is used.
  For example, in Hangul (the Korean writing system),
  each square representation of a syllable
  (e.g. <span lang="ko-hang" title="Hangul syllable HAN">한</span>=<span lang="ko-Latn">Han</span>)
  can be considered a <span id="ref-for-character①">character</span>.
  However, the square symbol is really composed of multiple letters each representing a phoneme
  (e.g. <span lang="ko-hang" title="Hangul letter HIEUH">ㅎ</span>=<span lang="ko-Latn">h</span>, <span lang="ko-hang" title="Hangul letter HIEUH">ㅏ</span>=<span lang="ko-Latn">a</span>, <span lang="ko-hang" title="Hangul letter HIEUH">ㄴ</span>=<span lang="ko-Latn">n</span>)
  and these also could each be considered a <span id="ref-for-character②">character</span>. </p>
   <p>A basic unit of computer text encoding, for any given encoding,
  is also called a <a data-link-type="dfn" href="#character" id="ref-for-character③">character</a>,
  and depending on the encoding,
  a single encoding <span id="ref-for-character④">character</span> might correspond
  to the entire pre-composed syllabic <span id="ref-for-character⑤">character</span> (e.g. <span lang="ko-hang" title="Hangul syllable HAN">한</span>),
  to the individual phonemic <span id="ref-for-character⑥">character</span> (e.g. <span lang="ko-hang" title="Hangul letter HIEUH">ㅎ</span>),
  or to smaller units such as
  a base letterform (e.g. <span lang="ko-hang" title="Hangul letter IEUNG">ㅇ</span>)
  and any combining marks that vary it (e.g. extra strokes that represent aspiration). </p>
   <p>In turn, a single encoding <a data-link-type="dfn" href="#character" id="ref-for-character⑦">character</a> can be represented in the data stream as one or more bytes;
  and in programming environments one byte is sometimes also called a <span id="ref-for-character⑧">character</span>. </p>
   <p>Therefore the term <a data-link-type="dfn" href="#character" id="ref-for-character⑨">character</a> is fairly ambiguous where technical precision is required. </p>
   <p>For text layout, we will refer to the <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="typographic character unit|typographic character" id="typographic-character-unit">typographic character unit</dfn> as the basic unit of text.
  Even within the realm of text layout,
  the relevant <a data-link-type="dfn" href="#character" id="ref-for-character①⓪">character</a> unit depends on the operation.
  For example, line-breaking and letter-spacing will segment
  a sequence of Thai characters that include U+0E33 THAI CHARACTER SARA AM differently;
  or the behaviour of a conjunct consonant in a script such as Devanagari
  may depend on the font in use.
  So the <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit">typographic character</a> represents a unit of the writing system—
such as a Latin alphabetic letter (including its diacritics),
  Hangul syllable,
  Chinese ideographic character,
  Myanmar syllable cluster—
that is indivisible with respect to a particular typographic operation
  (line-breaking, first-letter effects, tracking, justification, vertical arrangement, etc.). </p>
   <p><a href="http://www.unicode.org/reports/tr29/">Unicode Standard Annex #29: Text Segmentation</a> defines a unit called the <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="grapheme-cluster">grapheme cluster</dfn> which approximates the <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①">typographic character</a>.
  A UA must use the <em>extended grapheme cluster</em> (not <em>legacy grapheme cluster</em>), as defined in <a data-link-type="biblio" href="#biblio-uax29">[UAX29]</a>,
  as the basis for its <span id="ref-for-typographic-character-unit②">typographic character unit</span>.
  However, the UA should tailor the definitions
  as required by typographic tradition
  since the default rules are not always appropriate or ideal—<wbr>and is expected to tailor them differently
  depending on the operation as needed.</p>
   <p class="note" role="note"> Note: The rules for such tailorings are out of scope for CSS. </p>
   <div class="example" id="example-6784429f">
    <a class="self-link" href="#example-6784429f"></a> The following are some examples of <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③">typographic character unit</a> tailorings
    required by standard typesetting practice: 
    <ul>
     <li>
      <p>In some scripts such as Myanmar or Devanagari,
        the <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit④">typographic character unit</a> for both justification and line-breaking
        is an entire syllable,
        which can include more than one <a data-link-type="biblio" href="#biblio-uax29">[UAX29]</a> <a data-link-type="dfn" href="#grapheme-cluster" id="ref-for-grapheme-cluster">grapheme cluster</a>. </p>
     <li>
      <p>In other scripts such as Thai or Lao,
        even though for line-breaking the <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit⑤">typographic character</a> matches Unicode’s default <a data-link-type="dfn" href="#grapheme-cluster" id="ref-for-grapheme-cluster①">grapheme clusters</a>,
        for letter-spacing the relevant unit
        is <em>less</em> than a <a data-link-type="biblio" href="#biblio-uax29">[UAX29]</a> <span id="ref-for-grapheme-cluster②">grapheme cluster</span>,
        and may require decomposition or other substitutions
        before spacing can be inserted. </p>
      <p>For instance,
        to properly letter-space the Thai word คำ (U+0E04 + U+0E33),
        the U+0E33 needs to be decomposed into U+0E4D + U+0E32,
        and then the extra letter-space inserted before the U+0E32: คํ า. </p>
      <p>A slightly more complex example is น้ำ (U+0E19 + U+0E49 + U+0E33).
        In this case, normal Thai shaping will first decompose the U+0E33 into U+0E4D + U+0E32
        and then swap the U+0E4D with the U+0E49, giving U+0E19 + U+0E4D + U+0E49 + U+0E32.
        As before the extra letter-space is then inserted before the U+0E32: นํ้ า. </p>
     <li>
      <p>Vertical typesetting <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> can also require tailoring.
        For example, when typesetting <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-upright" id="ref-for-valdef-text-orientation-upright">upright</a> text,
        Tibetan tsek and shad marks are kept with the preceding grapheme cluster,
        rather than treated as an independent <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit⑥">typographic character unit</a>. </p>
    </ul>
   </div>
   <p>A <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="typographic-letter-unit">typographic letter unit</dfn> or <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="letter">letter</dfn> for the purpose of this specification
  is a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit⑦">typographic character unit</a> belonging to one of the Letter or Number general
  categories in Unicode. <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a> See <a href="#character-properties">Character Properties</a> for how to determine the Unicode properties of a <span id="ref-for-typographic-character-unit⑧">typographic character unit</span>. </p>
   <p>The rendering characteristics of a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit⑨">typographic character unit</a> divided
  by an element boundary is undefined.
  Ideally each component should be rendered
  according to the formatting requirements of its respective element’s properties
  while maintaining correct shaping and positioning
  of the <span id="ref-for-typographic-character-unit①⓪">typographic character unit</span> as a whole.
  However, depending on the nature of the formatting differences between its parts
  and the capabilities of the font technology in use,
  this is not always possible.
  Therefore such a <span id="ref-for-typographic-character-unit①①">typographic character unit</span> may be rendered as belonging to either side of the boundary,
  or as some approximation of belonging to both.
  Authors are forewarned that dividing <a data-link-type="dfn" href="#grapheme-cluster" id="ref-for-grapheme-cluster③">grapheme clusters</a> by element boundaries may give inconsistent or undesired results. </p>
   <h3 class="heading settled" data-level="1.5" id="text-encoding"><span class="secno">1.5. </span><span class="content"> Text Processing</span><a class="self-link" href="#text-encoding"></a></h3>
   <p>CSS is built on <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a>.
  UAs that support Unicode must adhere to all normative requirements
  of the Unicode Core Standard,
  except where explicitly overridden by CSS.
  UAs that use a different encoding are not explicitly supported by the CSS specifications;
  they are, however, expected to fulfill the same text handling requirements
  by assuming an appropriate mapping between that encoding and Unicode.</p>
   <p>For the purpose of determining adjacency for text processing
  (such as white space processing, text transformation, line-breaking, etc.),
  and thus in general within this specification,
  intervening <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box">inline box</a> boundaries and <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#out-of-flow" id="ref-for-out-of-flow">out-of-flow</a> elements
  must be ignored.
  With respect to text shaping, however, see <a href="#boundary-shaping">§ 7.3 Shaping Across Element Boundaries</a>.</p>
   <h2 class="heading settled" data-level="2" id="transforming"><span class="secno">2. </span><span class="content"> Transforming Text</span><a class="self-link" href="#transforming"></a></h2>
   <h3 class="heading settled" data-level="2.1" id="text-transform-property"><span class="secno">2.1. </span><span class="content"> Case Transforms: the <a class="property" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform②">text-transform</a> property</span><span id="text-transform"></span><span id="caps-prop"></span><a class="self-link" href="#text-transform-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-transform">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-transform">text-transform</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">none <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one">|</a> [capitalize <span id="ref-for-comb-one①">|</span> uppercase <span id="ref-for-comb-one②">|</span> lowercase ] <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-any" id="ref-for-comb-any">||</a> full-width <span id="ref-for-comb-any①">||</span> full-size-kana 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>none 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box①">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property transforms text for styling purposes.
    It has no effect on the underlying content,
    and must not affect the content of a plain text copy &amp; paste operation. </p>
   <p>Values have the following meanings: </p>
   <dl>
    <dt><dfn class="css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-none">none<a class="self-link" href="#valdef-text-transform-none"></a></dfn>
    <dd>No effects. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-capitalize">capitalize</dfn>
    <dd>Puts the first <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit">typographic letter unit</a> of each word, if lowercase, in titlecase;
          other characters are unaffected. 
    <dt><dfn class="css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-uppercase">uppercase<a class="self-link" href="#valdef-text-transform-uppercase"></a></dfn>
    <dd>Puts all <a data-link-type="dfn" href="#letter" id="ref-for-letter">letters</a> in uppercase. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-lowercase">lowercase</dfn>
    <dd>Puts all <a data-link-type="dfn" href="#letter" id="ref-for-letter①">letters</a> in lowercase. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-full-width">full-width</dfn>
    <dd>Puts all <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①②">typographic character units</a> in fullwidth form.
          If a character does not have a corresponding fullwidth form,
          it is left as is.
          This value is typically used to typeset Latin letters and digits
          as if they were ideographic characters. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-transform" data-dfn-type="value" data-export id="valdef-text-transform-full-size-kana">full-size-kana</dfn>
    <dd>Converts all <a data-link-type="dfn" href="#kana-small" id="ref-for-kana-small">small Kana</a> characters to the equivalent <a data-link-type="dfn" href="#kana-full-size" id="ref-for-kana-full-size">full-size Kana</a>.
          This value is typically used for ruby annotation text,
          where authors may want all small Kana to be drawn as large Kana
          to compensate for legibility issues at the small font sizes typically used in ruby. 
   </dl>
   <p>For <a class="css" data-link-type="maybe" href="#valdef-text-transform-capitalize" id="ref-for-valdef-text-transform-capitalize">capitalize</a>, what constitutes a “word“ is UA-dependent; <a data-link-type="biblio" href="#biblio-uax29">[UAX29]</a> is suggested (but not required)
      for determining such word boundaries.
      Authors should not expect <span class="css" id="ref-for-valdef-text-transform-capitalize①">capitalize</span> to follow
      language-specific titlecasing conventions
      (such as skipping articles in English).
      Out-of-flow elements and inline element boundaries
      must not introduce a <a class="property" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform③">text-transform</a> word boundary
      and must be ignored when determining such word boundaries. </p>
   <div class="example" id="example-095653b3">
    <a class="self-link" href="#example-095653b3"></a> 
    <p>The following example converts the ASCII characters
        used in abbreviations in Japanese text to their fullwidth variants
        so that they lay out and line break like ideographs: </p>
<pre>abbr:lang(ja) { text-transform: full-width; }</pre>
   </div>
   <p class="note" role="note"> Note: As defined in <a href="#order">Text Processing Order of Operations</a>,
      transforming text affects line-breaking and other formatting operations. </p>
   <p> The UA must use the full case mappings for Unicode
      characters, including any conditional casing rules, as defined in
      Default Case Algorithm section of The Unicode Standard <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a>.
      If (and only if) the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language⑦">content language</a> of the element is, according to the rules of the <a href="https://www.w3.org/TR/CSS2/conform.html#doclanguage">document language</a>,
      known,
      then any appropriate language-specific rules must be applied as well.
      These minimally include, but are not limited to, the language-specific
      rules in Unicode’s <a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>. </p>
   <div class="example" id="example-96c48b16">
    <a class="self-link" href="#example-96c48b16"></a> 
    <p>For example, in Turkish there are two “i”s, one with
        a dot—“İ” and “i”— and one
        without—“I” and “ı”. Thus the usual
        case mappings between “I” and “i” are
        replaced with a different set of mappings to their respective
        undotted/dotted counterparts, which do not exist in English. This
        mapping must only take effect if the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language⑧">content language</a> is Turkish
        written in its modern Latin-based <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system②">writing system</a> (or another Turkic language that uses Turkish casing rules);
        in other languages, the usual mapping of “I”
        and “i” is required. This rule is thus conditionally
        defined in Unicode’s SpecialCasing.txt file. </p>
   </div>
   <p>The definition of fullwidth and halfwidth forms can be found on the
      Unicode consortium web site at <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a>.
      The mapping to fullwidth form is defined by taking code points with
      the <code>&lt;wide></code> or the <code>&lt;narrow></code> tag
      in their <code>Decomposition_Mapping</code> in <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a>.
      For the <code>&lt;narrow></code> tag,
      the mapping is from the code point to the decomposition (minus <code>&lt;narrow></code> tag),
      and for the <code>&lt;wide></code> tag,
      the mapping is from the decomposition (minus the <code>&lt;wide></code> tag)
      back to the original code point. </p>
   <p>The mappings for small Kana to full-size Kana are defined in <a href="#small-kana">Appendix G.
Small Kana Mappings</a>. </p>
   <p>When multiple values are specified and therefore multiple transformations need to be applied,
      they are applied in the following order: </p>
   <ol>
    <li><a class="css" data-link-type="maybe" href="#valdef-text-transform-capitalize" id="ref-for-valdef-text-transform-capitalize②">capitalize</a>, <span class="css">upercase</span>, and <a class="css" data-link-type="maybe" href="#valdef-text-transform-lowercase" id="ref-for-valdef-text-transform-lowercase">lowercase</a> 
    <li><a class="css" data-link-type="maybe" href="#valdef-text-transform-full-width" id="ref-for-valdef-text-transform-full-width①">full-width</a> 
    <li><a class="css" data-link-type="maybe" href="#valdef-text-transform-full-size-kana" id="ref-for-valdef-text-transform-full-size-kana①">full-size-kana</a> 
   </ol>
   <p>Text transformation happens after <a href="#white-space-phase-1">§ 4.1.1 Phase I: Collapsing and Transformation</a> but before <a href="#white-space-phase-2">§ 4.1.3 Phase II: Trimming and Positioning</a>.
      This means that <a class="css" data-link-type="maybe" href="#valdef-text-transform-full-width" id="ref-for-valdef-text-transform-full-width②">full-width</a> only transforms
      U+0020 spaces to U+3000 within <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space">preserved</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space③⓪">white space</a>. </p>
   <p class="note" role="note"> Note: A future level of CSS may introduce the ability to create custom mapping
      tables for less common text transforms, such as by an <span class="css">@text-transform</span> rule similar to <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/css-counter-styles-3/#at-ruledef-counter-style" id="ref-for-at-ruledef-counter-style">@counter-style</a> from <a data-link-type="biblio" href="#biblio-css-counter-styles-3">[CSS-COUNTER-STYLES-3]</a>. </p>
   <h2 class="heading settled" data-level="3" id="white-space-property"><span class="secno">3. </span><span class="content"> White Space and Wrapping: the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space">white-space</a> property</span><span id="white-space-collapsing"></span><span id="text-wrap"></span><a class="self-link" href="#white-space-property"></a></h2>
   <table class="def propdef" data-link-for-hint="white-space">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-white-space">white-space</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">normal <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one③">|</a> pre <span id="ref-for-comb-one④">|</span> nowrap <span id="ref-for-comb-one⑤">|</span> pre-wrap <span id="ref-for-comb-one⑥">|</span> break-spaces <span id="ref-for-comb-one⑦">|</span> pre-line 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>normal 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box②">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property specifies two things: </p>
   <ul>
    <li>whether and how <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①">white space</a> inside the element is collapsed 
    <li>whether lines may <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping">wrap</a> at unforced <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity">soft wrap opportunities</a> 
   </ul>
   <p>Values have the following meanings, which must be interpreted
    according to
    the <a href="#white-space-rules">White Space Processing</a> and <a href="#line-breaking">Line Breaking</a> rules:</p>
   <dl>
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-normal">normal</dfn>
    <dd>This value directs user agents to collapse sequences of <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②">white space</a> into a single character (or <a href="#line-break-transform">in some
      cases</a>, no character).
      Lines may wrap at allowed <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①">soft wrap opportunities</a>,
      as determined by the line-breaking rules in effect,
      in order to minimize inline-axis overflow. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-pre">pre</dfn>
    <dd>This value prevents user agents from collapsing sequences of <a data-link-type="dfn" href="#white-space" id="ref-for-white-space③">white space</a>. <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break">Segment breaks</a> such as line feeds
      are preserved as <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break">forced line breaks</a>.
      Lines only break at <span id="ref-for-forced-line-break①">forced line breaks</span>;
      content that does not fit within the block container overflows it. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-nowrap">nowrap</dfn> 
    <dd>Like <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal">normal</a>, this value collapses <a data-link-type="dfn" href="#white-space" id="ref-for-white-space④">white space</a>;
      but like <a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre">pre</a>, it does not allow wrapping. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-pre-wrap">pre-wrap</dfn>
    <dd>Like <a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre①">pre</a>, this value preserves <a data-link-type="dfn" href="#white-space" id="ref-for-white-space⑤">white space</a>;
      but like <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal①">normal</a>, it allows wrapping. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-break-spaces">break-spaces</dfn>
    <dd>
     The behavior is identical to that of <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap">pre-wrap</a>,
      except that: 
     <ul>
      <li data-md>
       <p>Any sequence of <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①">preserved</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space⑥">white space</a> always takes up space,
including at the end of the line.</p>
      <li data-md>
       <p>A line breaking opportunity exists after every <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space②">preserved</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space⑦">white space</a> character,
including between <span id="ref-for-white-space⑧">white space characters</span>.</p>
     </ul>
     <p>Such <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space③">preserved</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space⑨">white space characters</a> take up space and do not <a data-link-type="dfn" href="#hang" id="ref-for-hang">hang</a>,
      and thus affect the box’s intrinsic sizes
      (<a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content">min-content size</a> and <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max-content" id="ref-for-max-content">max-content size</a>).</p>
     <p class="note" role="note">Note: This value does not guarantee that there will never be any overflow due to white space:
      for example, if the line length is so short that even a single white space character does not fit,
      overflow is unavoidable.</p>
    <dt><dfn class="dfn-paneled css" data-dfn-for="white-space" data-dfn-type="value" data-export id="valdef-white-space-pre-line">pre-line</dfn>
    <dd>Like <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal②">normal</a>, this value collapses consecutive <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①⓪">white space characters</a> and allows wrapping,
      but preserves <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①">segment breaks</a> in the source as <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break②">forced line breaks</a>. 
   </dl>
   <p><a data-link-type="dfn" href="#white-space" id="ref-for-white-space①①">White space</a> that was not removed or collapsed due to white space processing
    is called <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-local-lt="preserved" id="preserved-white-space">preserved white space</dfn>. </p>
   <p class="note" role="note"><span>Note:</span> In some cases, <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space④">preserved white space</a> and <a data-link-type="dfn" href="#other-space-separators" id="ref-for-other-space-separators">other space separators</a> can <a data-link-type="dfn" href="#hang" id="ref-for-hang①">hang</a> when at the end of the line;
    this can affect whether they are measured for <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizing" id="ref-for-intrinsic-sizing">intrinsic sizing</a>.</p>
   <p>The following informative table summarizes the behavior of various <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①">white-space</a> values:</p>
   <table class="data">
    <colgroup class="header">
    <colgroup span="4">
    <thead>
     <tr>
      <th>
      <th>New Lines
      <th>Spaces and Tabs
      <th>Text Wrapping
      <th>End-of-line spaces
    <tbody>
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal③">normal</a>
      <td>Collapse
      <td>Collapse
      <td>Wrap
      <td>Remove
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre②">pre</a>
      <td>Preserve
      <td>Preserve
      <td>No wrap
      <td>Preserve
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-nowrap" id="ref-for-valdef-white-space-nowrap">nowrap</a>
      <td>Collapse
      <td>Collapse
      <td>No wrap
      <td>Remove
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap①">pre-wrap</a>
      <td>Preserve
      <td>Preserve
      <td>Wrap
      <td>Hang
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces">break-spaces</a>
      <td>Preserve
      <td>Preserve
      <td>Wrap
      <td>Wrap
     <tr>
      <th><a class="css" data-link-type="maybe" href="#valdef-white-space-pre-line" id="ref-for-valdef-white-space-pre-line">pre-line</a>
      <td>Preserve
      <td>Collapse
      <td>Wrap
      <td>Remove
   </table>
   <p>See <a href="#white-space-processing">White Space Processing Rules</a> for details on how <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①②">white space</a> collapses. An informative summary of
    collapsing (<a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal④">normal</a> and <a class="css" data-link-type="maybe" href="#valdef-white-space-nowrap" id="ref-for-valdef-white-space-nowrap①">nowrap</a>) is presented below: </p>
   <ul>
    <li>A sequence of segment breaks and other <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①③">white space</a> between two
        Chinese, Japanese, or Yi characters collapses into nothing. 
    <li>A zero width space before or after a <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①④">white space</a> sequence
        containing a segment break causes the entire sequence of <span id="ref-for-white-space①⑤">white space</span> to collapse into a zero width space. 
    <li>Otherwise, consecutive <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①⑥">white space</a> collapses into a single <a data-link-type="dfn" href="#spaces" id="ref-for-spaces">space</a>. 
   </ul>
   <p>See <a href="#line-breaking">Line Breaking</a> for details on wrapping behavior. </p>
   <h2 class="heading settled" data-level="4" id="white-space-processing"><span class="secno">4. </span><span class="content"> White Space Processing Details</span><a class="self-link" href="#white-space-processing"></a></h2>
   <p>The source text of a document often contains formatting
    that is not relevant to the final rendering: for example, <a href="http://rhodesmill.org/brandon/2012/one-sentence-per-line/">breaking the source into segments</a> (lines) for ease of editing
    or adding <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①⑦">white space characters</a> such as <a data-link-type="dfn" href="#tabs" id="ref-for-tabs">tabs</a> and <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①">spaces</a> to indent the source code.
    CSS white space processing allows the author to control interpretation of such formatting:
    to preserve or collapse it away when rendering the document.
    White space processing in CSS interprets <span id="ref-for-white-space①⑧">white space characters</span> only for rendering:
    it has no effect on the underlying document data. </p>
   <p>White space processing in CSS is controlled with the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space②">white-space</a> property. </p>
   <p id="segment-normalization"> CSS does not define document segmentation rules. Segments can be
    separated by a particular newline sequence (such as a line feed or
    CRLF pair), or delimited by some other mechanism, such as the SGML <code>RECORD-START</code> and <code>RECORD-END</code> tokens.
    For CSS processing, each document language–defined segment break
    and each line feed (U+000A)
    in the text is treated as a <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="segment-break">segment break</dfn>,
    which is then interpreted for rendering as specified by the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space③">white-space</a> property. </p>
   <p class="note" role="note">Note: A document parser might
    not only normalize any <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break②">segment breaks</a>,
    but also collapse other space characters or
    otherwise process white space according to markup rules.
    Because CSS processing occurs <em>after</em> the parsing stage,
    it is not possible to restore these characters for styling.
    Therefore, some of the behavior specified below
    can be affected by these limitations and
    may be user agent dependent.</p>
   <p class="note" role="note">Note: Anonymous blocks consisting entirely of <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space">collapsible</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space①⑨">white space</a> are removed from the rendering tree.
    Thus any such <span id="ref-for-white-space②⓪">white space</span> surrounding a block-level element is collapsed away.
    See <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> section <a href="https://www.w3.org/TR/CSS2/visuren.html#anonymous">9.2.2.1</a></p>
   <p> Control characters (<a data-link-type="dfn" href="#unicode-general-category" id="ref-for-unicode-general-category">Unicode category</a> <code>Cc</code>)—<wbr>other than tabs (U+0009), line feeds (U+000A),
    and sequences that form a <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break③">segment break</a>—<wbr>must be rendered as a visible glyph
    which the UA must synthethize if the glyphs found in the font are not visible,
    and must be otherwise treated as any other character
    of the Other Symbols (<code>So</code>) <span id="ref-for-unicode-general-category①">general category</span> and Common <a data-link-type="dfn" href="#unicode-script" id="ref-for-unicode-script">script</a>.
    The UA may use a glyph provided by a font specifically for the control character,
    substitute the glyphs provided for the corresponding symbol in the Control Pictures block,
    generate a visual representation of its code point value,
    or use some other method to provide an appropriate visible glyph.
    As required by <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a>,
    unsupported <code>Default_ignorable</code> characters
    must be ignored for text rendering. </p>
   <h3 class="heading settled" data-level="4.1" id="white-space-rules"><span class="secno">4.1. </span><span class="content"> The White Space Processing Rules</span><a class="self-link" href="#white-space-rules"></a></h3>
   <p>Except where specified otherwise,
    White space processing in CSS affects only
      the <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="white space|white space characters| document white space|document white space characters" id="white-space">document white space characters</dfn>: <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="spaces">spaces</dfn> (U+0020), <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="tabs">tabs</dfn> (U+0009), and <a href="#white-space-processing">segment breaks</a>. </p>
   <p class="note" role="note"> Note: The set of characters considered <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②①">document white space</a> (part of the document content)
      and that considered syntactic white space (part of the CSS syntax)
      are not necessarily identical.
      However, since both include spaces (U+0020), tabs (U+0009), and line feeds (U+000A)
      most authors won’t notice any differences. </p>
   <p>Besides
      Space (U+0020)
      and No-Break Space (U+00A0),
      Unicode <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a> defines a number of additional space separator characters.
      In this specification
      all characters in the Unicode Zs category (See <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a>)
      except Space (U+0020)
      and No-Break Space (U+00A0)
      are collectively referred to as <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="other-space-separators">other space separators</dfn>. </p>
   <h4 class="heading settled" data-level="4.1.1" id="white-space-phase-1"><span class="secno">4.1.1. </span><span class="content">Phase I: Collapsing and Transformation</span><a class="self-link" href="#white-space-phase-1"></a></h4>
   <p>For each inline (including anonymous inlines;
      see <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> section <a href="https://www.w3.org/TR/CSS2/visuren.html#anonymous">9.2.2.1</a>)
      within an inline
      formatting context, <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②②">white space characters</a> are handled as follows,
      ignoring <dfn data-dfn-type="dfn" data-noexport id="bidi-formatting-characters">bidi formatting characters<a class="self-link" href="#bidi-formatting-characters"></a></dfn> (characters with the <code>Bidi_Control</code> property <a data-link-type="biblio" href="#biblio-uax9">[UAX9]</a>)
      as if they were not there: </p>
   <ul>
    <li id="collapse">
     <a class="self-link" href="#collapse"></a>
     <p>If <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space④">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal⑤">normal</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-nowrap" id="ref-for-valdef-white-space-nowrap②">nowrap</a>, or <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-line" id="ref-for-valdef-white-space-pre-line①">pre-line</a>, <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②③">white space characters</a> are considered <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="collapsible white space|collapsible" id="collapsible-white-space">collapsible</dfn> and are processed by performing the following steps:</p>
     <ol>
      <li>Any sequence of collapsible <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②">spaces</a> and <a data-link-type="dfn" href="#tabs" id="ref-for-tabs①">tabs</a> immediately preceding or following a <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break④">segment break</a> is removed. 
      <li>Collapsible <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break⑤">segment breaks</a> are transformed for
          rendering according to the <a href="#line-break-transform">segment break transformation rules</a>. 
      <li>Every <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space①">collapsible</a> <a data-link-type="dfn" href="#tabs" id="ref-for-tabs②">tab</a> is converted to a collapsible space (U+0020). 
      <li>Any <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space②">collapsible</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces③">space</a> immediately following another <span id="ref-for-collapsible-white-space③">collapsible</span> <span id="ref-for-spaces④">space</span>—even
          one outside the boundary of the inline containing that <span id="ref-for-spaces⑤">space</span>,
          provided both <span id="ref-for-spaces⑥">spaces</span> are within the same inline formatting
          context—is collapsed to have zero advance width. (It is
          invisible, but retains its <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②">soft wrap opportunity</a>, if any.) 
     </ol>
    <li>
     <p>If <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space⑤">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre③">pre</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap②">pre-wrap</a>, or <a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces①">break-spaces</a>,
      any sequence of spaces is treated as a sequence of non-breaking spaces.
      However, for <span class="css" id="ref-for-valdef-white-space-pre-wrap③">pre-wrap</span>,
      a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity③">soft wrap opportunity</a> exists at the end of a sequence of <a data-link-type="dfn" href="#spaces" id="ref-for-spaces⑦">spaces</a> and/or <a data-link-type="dfn" href="#tabs" id="ref-for-tabs③">tabs</a>,
      while for <span class="css" id="ref-for-valdef-white-space-break-spaces②">break-spaces</span>,
      a <span id="ref-for-soft-wrap-opportunity④">soft wrap opportunity</span> exists after every <span id="ref-for-spaces⑧">space</span> and every <span id="ref-for-tabs④">tab</span>. </p>
   </ul>
   <p>Then, the entire block is rendered. Inlines are laid out, taking bidi
      reordering into account, and <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping①">wrapping</a> as specified by the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space⑥">white-space</a> property.</p>
   <div class="example" id="egbidiwscollapse">
    <a class="self-link" href="#egbidiwscollapse"></a> 
    <p>The following example illustrates
        the interaction of white-space collapsing and bidirectionality.
        Consider the following markup fragment, taking special note of <a data-link-type="dfn" href="#spaces" id="ref-for-spaces⑨">spaces</a> (with varied backgrounds and borders for emphasis and identification): </p>
<pre><code>&lt;ltr>A<span class="egbidiwsaA"> </span>&lt;rtl><span class="egbidiwsbB"> </span>B<span class="egbidiwsaB"> </span>&lt;/rtl><span class="egbidiwsbC"> </span>C&lt;/ltr></code></pre>
    <p>where the <code>&lt;ltr></code> element represents a left-to-right embedding
        and the <code>&lt;rtl></code> element represents a right-to-left embedding.
        If the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space⑦">white-space</a> property is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal⑥">normal</a>,
        the white-space processing model will result in the following: </p>
    <ul style="line-height:1.3">
     <li>The <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①⓪">space</a> before the B (<span class="egbidiwsbB"> </span>)
          will collapse with the <span id="ref-for-spaces①①">space</span> after the A (<span class="egbidiwsaA"> </span>). 
     <li>The <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①②">space</a> before the C (<span class="egbidiwsbC"> </span>)
          will collapse with the <span id="ref-for-spaces①③">space</span> after the B (<span class="egbidiwsaB"> </span>). 
    </ul>
    <p>This will leave two <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①④">spaces</a>,
        one after the A in the left-to-right embedding level,
        and one after the B in the right-to-left embedding level.
        The text will then be ordered according to the Unicode bidirectional algorithm,
        with the end result being: </p>
<pre>A<span class="egbidiwsaA"> </span><span class="egbidiwsaB"> </span>BC</pre>
    <p>Note that there will be two <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①⑤">spaces</a> between A and B,
        and none between B and C.
        This is best avoided by putting <span id="ref-for-spaces①⑥">spaces</span> outside the element
        instead of just inside the opening and closing tags and, where practical,
        by relying on implicit bidirectionality instead of explicit embedding levels. </p>
   </div>
   <h4 class="heading settled" data-level="4.1.2" id="line-break-transform"><span class="secno">4.1.2. </span><span class="content"> Segment Break Transformation Rules</span><a class="self-link" href="#line-break-transform"></a></h4>
   <p>When <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space⑧">white-space</a> is <a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre④">pre</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap④">pre-wrap</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces③">break-spaces</a>, or <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-line" id="ref-for-valdef-white-space-pre-line②">pre-line</a>, <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break⑥">segment breaks</a> are not <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space④">collapsible</a> and are instead transformed into a preserved line feed (U+000A). </p>
   <p>For other values of <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space⑨">white-space</a>, <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break⑦">segment breaks</a> are <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space⑤">collapsible</a>.
        Any collapsible <span id="ref-for-segment-break⑧">segment break</span> immediately following another collapsible <span id="ref-for-segment-break⑨">segment break</span> is removed.
        Then any remaining <span id="ref-for-segment-break①⓪">segment break</span> is
        either transformed into a space (U+0020) or removed
        depending on the context before and after the break: </p>
   <ul>
    <li>If the character immediately before or immediately after the <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①①">segment break</a> is the zero-width space character (U+200B), then the break
          is removed, leaving behind the zero-width space. 
    <li>Otherwise, if the <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width">East Asian Width property</a> <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a> of both
          the character before and after the <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①②">segment break</a> is <code>Fullwidth</code>, <code>Wide</code>, or <code>Halfwidth</code> (not <code>Ambiguous</code>),
          and neither side is Hangul,
          then the <span id="ref-for-segment-break①③">segment break</span> is removed. 
    <li>Otherwise, if the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system③">writing system</a> of the <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①④">segment break</a> is <a data-link-type="dfn" href="#writing-system-chinese" id="ref-for-writing-system-chinese">Chinese</a>, <a data-link-type="dfn" href="#writing-system-japanese" id="ref-for-writing-system-japanese">Japanese</a>, or Yi,
          and the character before or after the <span id="ref-for-segment-break①⑤">segment break</span> is punctuation or a symbol (Unicode <a data-link-type="dfn" href="#unicode-general-category" id="ref-for-unicode-general-category②">general category</a> P* or S*)
          and has an <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width①">East Asian Width property</a> of <code>Ambiguous</code>,
          and the character on the other side of the <span id="ref-for-segment-break①⑥">segment break</span> is <code>Fullwidth</code>, <code>Wide</code>, or <code>Halfwidth</code>,
          and not Hangul,
          then the <span id="ref-for-segment-break①⑦">segment break</span> is removed. 
    <li>Otherwise, the <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①⑧">segment break</a> is converted to a space (U+0020). 
   </ul>
   <p> For this purpose,
        Emoji (Unicode property <code>Emoji</code>)
        with an <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width②">East Asian Width property</a> of <code>Wide</code> or <code>Neutral</code> are treated as having an <span id="ref-for-unicode-east-asian-width③">East Asian Width property</span> of <code>Ambiguous</code>. </p>
   <p class="note" role="note">Note: The white space processing rules have already
        removed any <a data-link-type="dfn" href="#tabs" id="ref-for-tabs⑤">tabs</a> and <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①⑦">spaces</a> after the <a data-link-type="dfn" href="#segment-break" id="ref-for-segment-break①⑨">segment break</a> before these checks
        take place.</p>
   <div class="example" id="example-3e63d8a5">
    <a class="self-link" href="#example-3e63d8a5"></a> The purpose of the segment break transformation rules
        (and white space collapsing in general)
        is to “unbreak” text that has been <a href="#white-space-processing">broken into segments</a> to make the document source code easier to work with.
        In languages that use word separators, such as English and Korean,
        “unbreaking” a line requires joining the two lines with a <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①⑧">space</a>. 
    <figure>
<pre>Here is an English paragraph
that is broken into multiple lines
in the source code so that it can
more easily read in a text editor.
</pre>
     <p>Here is an English paragraph that is broken into multiple lines in the source code so that it can be more easily read in a text editor.</p>
     <figcaption> Eliminating a line break in English requires maintaining a <a data-link-type="dfn" href="#spaces" id="ref-for-spaces①⑨">space</a> in its place. </figcaption>
    </figure>
    <p>In languages that have no word separators, such as Chinese,
        “unbreaking” a line requires joining the two lines with no intervening space.</p>
    <figure>
<pre>这个段落是呢么长，
在一行写不行。最好
用三行写。
</pre>
     <p>这个段落是呢么长，在一行不行。最好用三行写。</p>
     <figcaption> Eliminating a line break in Chinese requires eliminating any intervening <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②④">white space</a>. </figcaption>
    </figure>
    <p>The segment break transformation rules thus use adjacent context
        to either transform the segment break into a space
        or eliminate it entirely.</p>
   </div>
   <p class="feedback issue" id="issue-ac00652c"><a class="self-link" href="#issue-ac00652c"></a>Comments on how well these rules would work in practice would
        be very much appreciated, particularly from people who work with
        Thai and similar scripts.
        Note that browser implementations do not currently follow these rules consistently
        (although IE does in some cases transform the break,
        and Firefox follows the first two bullet points).</p>
   <h4 class="heading settled" data-level="4.1.3" id="white-space-phase-2"><span class="secno">4.1.3. </span><span class="content">Phase II: Trimming and Positioning</span><a class="self-link" href="#white-space-phase-2"></a></h4>
   <p>As each line is laid out,</p>
   <ol>
    <li>A sequence of <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space⑥">collapsible</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②⓪">spaces</a> at the beginning of a line
        is removed. 
    <li>
     If the <a data-link-type="dfn" href="#tab-size-dfn" id="ref-for-tab-size-dfn">tab size</a> is zero, <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space⑤">preserved</a> <a data-link-type="dfn" href="#tabs" id="ref-for-tabs⑥">tabs</a> are not rendered.
        Otherwise, each <span id="ref-for-preserved-white-space⑥">preserved</span> <span id="ref-for-tabs⑦">tab</span> is rendered as a horizontal shift
        that lines up the start edge of the next glyph with the next <a data-link-type="dfn" href="#tab-stop" id="ref-for-tab-stop">tab stop</a>.
        If this distance is less than 0.5<a href="https://www.w3.org/TR/css-values-3/#ch">ch</a>,
        then the subsequent <span id="ref-for-tab-stop①">tab stop</span> is used instead. <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="tab stop" data-noexport id="tab-stop">Tab stops</dfn> occur at points that are multiples of the <span id="ref-for-tab-size-dfn①">tab size</span> from the block’s starting content edge.
        The <span id="ref-for-tab-size-dfn②">tab size</span> is given by the <a class="property" data-link-type="propdesc" href="#propdef-tab-size" id="ref-for-propdef-tab-size①">tab-size</a> property. 
     <p class="note" role="note"><span>Note:</span> See <a data-link-type="biblio" href="#biblio-uax9">[UAX9]</a> for <a href="http://unicode.org/reports/tr9/#L1">rules on how U+0009 tabulation interacts with bidi</a>.</p>
    <li>
     A sequence at the end of a line
        of <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space⑦">collapsible</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②①">spaces</a> is removed. 
     <p>In the case of bidirectional text,
        any sequence of <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space⑧">collapsible</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②②">spaces</a> located at the end of the line
        prior to <a href="https://www.w3.org/TR/css-writing-modes/#text-direction">bidi reordering</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> is also removed,
        and bidi reordering is applied on the remaining content of the line.</p>
    <li>
     If there remains any sequence of <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②⑤">white space</a>,
        and/or <a data-link-type="dfn" href="#other-space-separators" id="ref-for-other-space-separators①">other space separators</a>,
        at the end of a line (after <a href="https://www.w3.org/TR/css-writing-modes/#text-direction">bidi reordering</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a>): 
     <ul>
      <li>If <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①⓪">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal⑦">normal</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-nowrap" id="ref-for-valdef-white-space-nowrap③">nowrap</a>, or <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-line" id="ref-for-valdef-white-space-pre-line③">pre-line</a>,
            the UA must <a data-link-type="dfn" href="#hang" id="ref-for-hang②">hang</a> this sequence (unconditionally). 
      <li>
       If <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①①">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap⑤">pre-wrap</a>,
             the UA must (unconditionally) <a data-link-type="dfn" href="#hang" id="ref-for-hang③">hang</a> this sequence,
             unless the sequence is followed by a <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break③">forced line break</a>,
             in which case it must <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang">conditionally hang</a> the sequence is instead.
             It may also visually collapse the character advance widths
             of any that would otherwise overflow. 
       <p class="note" role="note"><span>Note:</span> <a data-link-type="dfn" href="#hang" id="ref-for-hang④">Hanging</a> the white space rather than collapsing it
             allows users to see the space when selecting or editing text.</p>
      <li>If <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①②">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces④">break-spaces</a>, <a data-link-type="dfn" href="#hang" id="ref-for-hang⑤">hanging</a> or collapsing the advance width of the <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②③">spaces</a>, <a data-link-type="dfn" href="#tabs" id="ref-for-tabs⑧">tabs</a>,
             or <a data-link-type="dfn" href="#other-space-separators" id="ref-for-other-space-separators②">other space separators</a> at the end of the line is not allowed;
             those that overflow must <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping②">wrap</a> to the next line. 
     </ul>
   </ol>
   <div class="example" id="example-af2745cd">
    <a class="self-link" href="#example-af2745cd"></a> This example shows that <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang①">conditionally hanging</a> white space
      at the end of lines with forced breaks
      provides symmetry with the start of the line.
      An underline is added to help visualize the spaces. 
<pre><code class="lang-css highlight"><c- f>p </c-><c- p>{</c->
  <c- k>white-space</c-><c- p>:</c-> pre-wrap<c- p>;</c->
  <c- k>width</c-><c- p>:</c-> <c- m>5</c-><c- l>ch</c-><c- p>;</c->
  <c- k>border</c-><c- p>:</c-> solid <c- m>1</c-><c- l>px</c-><c- p>;</c->
  <c- k>font-family</c-><c- p>:</c-> monospace<c- p>;</c->
  <c- k>text-align</c-><c- p>:</c-> center<c- p>;</c->
<c- p>}</c-></code></pre>
<pre><code class="lang-markup highlight"><c- p>&lt;</c-><c- f>p</c-><c- p>></c-> 0 <c- p>&lt;/</c-><c- f>p</c-><c- p>></c->
</code></pre>
    <p>The sample above would be rendered as follows:</p>
    <div style="word-wrap: normal; font-size: 2em; font-family: monospace; width: 5ch; border: solid 1px; white-space: pre;"> <span style="text-decoration: underline; text-decoration: underline orange"> 0 </span> </div>
    <p>Since the final <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②④">space</a> is before a forced line break
      and does not overflow,
      it does not hang,
      and centering works as expected.</p>
   </div>
   <div class="example" id="example-e231f51f">
    <a class="self-link" href="#example-e231f51f"></a> This example illustrates the difference
      between <a data-link-type="dfn" href="#hang" id="ref-for-hang⑥">hanging</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②⑤">spaces</a> at the end of lines without forced breaks,
      and <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang②">conditionally hanging</a> them at the end of lines with forced breaks.
      An underline is added to help visualize the <span id="ref-for-spaces②⑥">spaces</span>. 
<pre><code class="lang-css highlight"><c- f>p </c-><c- p>{</c->
  <c- k>white-space</c-><c- p>:</c-> pre-wrap<c- p>;</c->
  <c- k>width</c-><c- p>:</c-> <c- m>3</c-><c- l>ch</c-><c- p>;</c->
  <c- k>border</c-><c- p>:</c-> solid <c- m>1</c-><c- l>px</c-><c- p>;</c->
  <c- k>font-family</c-><c- p>:</c-> monospace<c- p>;</c->
<c- p>}</c-></code></pre>
<pre><code class="lang-markup highlight"><c- p>&lt;</c-><c- f>p</c-><c- p>></c-> 0 0 0 0 <c- p>&lt;/</c-><c- f>p</c-><c- p>></c->
</code></pre>
    <p>The sample above would be rendered as follows:</p>
    <div style="word-wrap: normal; font-size: 2em; font-family: monospace; width: 3ch; border: solid 1px; white-space: pre; text-decoration: underline; text-decoration: underline orange"> 0 <br>0 0 <br>0 </div>
    <p>If <code class="lang-css highlight"><c- f>p </c-><c- p>{</c-> <c- k>text-align</c-><c- p>:</c-> right<c- p>;</c-> <c- p>}</c-></code> was added,
      the result would be as follows:</p>
    <div style="word-wrap: normal; font-size: 2em; font-family: monospace; width: 3ch; border: solid 1px; white-space: pre;"> <span style="text-decoration: underline; text-decoration: underline orange"> 0 </span><br><span style="text-decoration: underline; text-decoration: underline orange">0 0 </span><br> <span style="text-decoration: underline; text-decoration: underline orange">0 </span></div>
    <p>As the <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space⑦">preserved</a> <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②⑦">spaces</a> at the end of lines without a forced break must <a data-link-type="dfn" href="#hang" id="ref-for-hang⑦">hang</a>,
      they are not considered when placing the rest of the line during text alignment.
      When aligning towards the end,
      this means any such <span id="ref-for-spaces②⑧">spaces</span> will overflow,
      and will not prevent the rest of the line’s content from being flush with the edge of the line.
      On the other hand,
      preserved spaces at the end of a line <em>with</em> a forced break <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang③">conditionally hang</a>.
      Since the space at the end of the last line would not overflow in this example,
      it does not <span id="ref-for-hang⑧">hang</span> and therefore is considered during text alignment.</p>
   </div>
   <div class="example" id="example-6c2f4658">
    <a class="self-link" href="#example-6c2f4658"></a> In the following example,
      there is not enough room on any line to fit the end-of-line spaces,
      so they <a data-link-type="dfn" href="#hang" id="ref-for-hang⑨">hang</a> on all lines:
      the one on the line without a forced break because it must,
      as well as the one on the line with a forced break,
      because it <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang④">conditionally hangs</a> and overflows.
      An underline is added to help visualize the spaces. 
<pre><code class="lang-css highlight"><c- f>p </c-><c- p>{</c->
  <c- k>white-space</c-><c- p>:</c-> pre-wrap<c- p>;</c->
  <c- k>width</c-><c- p>:</c-> <c- m>3</c-><c- l>ch</c-><c- p>;</c->
  <c- k>border</c-><c- p>:</c-> solid <c- m>1</c-><c- l>px</c-><c- p>;</c->
  <c- k>font-family</c-><c- p>:</c-> monospace<c- p>;</c->
<c- p>}</c-></code></pre>
<pre><code class="lang-markup highlight"><c- p>&lt;</c-><c- f>p</c-><c- p>></c->0 0 0 0 <c- p>&lt;/</c-><c- f>p</c-><c- p>></c->
</code></pre>
    <div style="word-wrap: normal; font-size: 2em; font-family: monospace; width: 3ch; border: solid 1px; white-space: pre; text-decoration: underline; text-decoration: underline orange">0 0 <br>0 0 </div>
    <p>The last line is not wrapped before the last <code>0</code> because characters that <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang⑤">conditionally hang</a> are not considered
      when measuring the line’s contents for fit.</p>
   </div>
   <h3 class="heading settled caniuse-paneled" data-level="4.2" id="tab-size-property"><span class="secno">4.2. </span><span class="content"> Tab Character Size: the <a class="property" data-link-type="propdesc" href="#propdef-tab-size" id="ref-for-propdef-tab-size②">tab-size</a> property</span><span id="tab-size"></span><a class="self-link" href="#tab-size-property"></a></h3>
   <table class="def propdef" data-link-for-hint="tab-size">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-tab-size">tab-size</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod"><a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#number-value" id="ref-for-number-value">&lt;number></a> <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one⑧">|</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value" id="ref-for-length-value" title="Expands to: em | vb | ch | cm | vh | vi | in | ex | vw | ic | pt | px | lh | pc | rem | rlh | vmax | advance measure | vmin | mm | cap | q">&lt;length></a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>8 
     <tr>
      <th>Applies to:
      <td>block containers 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>the specified number or absolute length 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>by computed value type 
   </table>
   <p>This property determines the <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="tab-size-dfn">tab size</dfn> used to render <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space⑧">preserved</a> tab characters (U+0009).
      A <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#number-value" id="ref-for-number-value①">&lt;number></a> represents the measure as a multiple of the space character’s advance width (U+0020)
      including its associated <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing">letter-spacing</a> and <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing①">word-spacing</a>.
      Negative values are not allowed. </p>
   <h2 class="heading settled" data-level="5" id="line-breaking"><span class="secno">5. </span><span class="content"> Line Breaking and Word Boundaries</span><a class="self-link" href="#line-breaking"></a></h2>
   <p>When inline-level content is laid out into lines, it is broken across line boxes.
    Such a break is called a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="line-break">line break</dfn>.
    When a line is broken due to explicit line-breaking controls
    (such as a <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space⑨">preserved</a> newline character),
    or due to the start or end of a block,
    it is a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="forced-line-break">forced line break</dfn>.
    When a line is broken due to content <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="wrapping|wrap" data-noexport id="wrapping">wrapping</dfn> (i.e. when the UA creates unforced line breaks in order to fit the content within the measure),
    it is a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="soft-wrap-break">soft wrap break</dfn>.
    The process of breaking inline-level content into lines is called <dfn data-dfn-type="dfn" data-export data-lt="line breaking process | line breaking" id="line-breaking-process">line breaking<a class="self-link" href="#line-breaking-process"></a></dfn>. </p>
   <p>Wrapping is only performed at an allowed break point,
    called a <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="soft-wrap-opportunity">soft wrap opportunity</dfn>.
    When wrapping is enabled (see <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①③">white-space</a>),
    the UA must minimize the amount of content overflowing a line
    by wrapping the line at a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity⑤">soft wrap opportunity</a>,
    if one exists. </p>
   <p>In most writing systems,
    in the absence of hyphenation a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity⑥">soft wrap opportunity</a> occurs only at word boundaries.
    Many such systems use <a data-link-type="dfn" href="#spaces" id="ref-for-spaces②⑨">spaces</a> or punctuation to explicitly separate words,
    and <span id="ref-for-soft-wrap-opportunity⑦">soft wrap opportunities</span> can be identified by these characters.
    Scripts such as Thai, Lao, and Khmer, however,
    do not use spaces or punctuation to separate words.
    Although the zero width space (U+200B) can be used as an explicit word delimiter in these scripts,
    this practice is not common.
    As a result, a lexical resource is needed to correctly identify <span id="ref-for-soft-wrap-opportunity⑧">soft wrap opportunities</span> in such texts. </p>
   <p>In some other writing systems, <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity⑨">soft wrap opportunities</a> are based on orthographic syllable boundaries,
    not word boundaries.
    Some of these systems, such as Javanese and Balinese,
    are similar to Thai and Lao in that they
    require analysis of the text to find breaking opportunities.
    In others such as Chinese (as well as Japanese, Yi, and sometimes also Korean),
    each syllable tends to correspond to a single <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit①">typographic letter unit</a>,
    and thus line breaking conventions allow the line to break
    anywhere <em>except</em> between certain character combinations.
    Additionally the level of strictness in these restrictions
    varies with the typesetting style. </p>
   <p>While CSS does not fully define where <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①⓪">soft wrap opportunities</a> occur,
    some controls are provided to distinguish common variations: </p>
   <ul>
    <li> The <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break①">line-break</a> property allows choosing various levels of “strictness”
      for line breaking restrictions. 
    <li> The <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break">word-break</a> property controls what types of letters
      are glommed together to form unbreakable “words”,
      causing CJK characters to behave like non-CJK text or vice versa. 
    <li> The <a class="property" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens">hyphens</a> property controls whether automatic hyphenation
      is allowed to break words in scripts that hyphenate. 
    <li> The <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap">overflow-wrap</a> property allows the UA to take a break anywhere
      in otherwise-unbreakable strings that would otherwise overflow. 
   </ul>
   <div class="note" role="note">
    <p>Note: Further information on line breaking conventions can be found in <a data-link-type="biblio" href="#biblio-jlreq">[JLREQ]</a> and <a data-link-type="biblio" href="#biblio-jis4051">[JIS4051]</a> for Japanese, <a data-link-type="biblio" href="#biblio-clreq">[CLREQ]</a> and <a data-link-type="biblio" href="#biblio-zhmark">[ZHMARK]</a> for Chinese, and
      in <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a> for all scripts in Unicode.
      See also the <a href="https://www.w3.org/International/">Internationalization Working Group</a>’s <a href="https://www.w3.org/TR/typography/#blocks_paragraphs">Typography Index</a> <a data-link-type="biblio" href="#biblio-typography">[TYPOGRAPHY]</a> which includes more information on additional languages. </p>
    <p class="feedback issue" id="issue-b12cecc6"><a class="self-link" href="#issue-b12cecc6"></a>Any guidance for additional appropriate references
      would be much appreciated. </p>
   </div>
   <h3 class="heading settled" data-level="5.1" id="line-break-details"><span class="secno">5.1. </span><span class="content"> Line Breaking Details</span><a class="self-link" href="#line-break-details"></a></h3>
   <p>When determining <a data-link-type="dfn" href="#line-break" id="ref-for-line-break">line breaks</a>: </p>
   <ul>
    <li>Regardless of the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①④">white-space</a> value,
      lines always break at each <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①⓪">preserved</a> forced break character:
      thus
      for all values, line-breaking behavior defined for
      the BK and NL line breaking classes in <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a> must be honored. 
    <li>Except where explicitly defined otherwise
      (e.g. for <a class="css" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break②">line-break: anywhere</a> or <a class="css" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap①">overflow-wrap: anywhere</a>)
      line breaking behavior defined for
      the WJ, ZW, GL, and ZWJ line-breaking classes in <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a> must be honored. 
    <li>UAs that allow wrapping at punctuation
      other than <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator">word separators</a> in writing systems that use them <em>should</em> prioritize breakpoints.
      (For example, if breaks after slashes are given a lower priority than spaces,
      the sequence “check /etc” will never break between the "/" and the "e".)
      As long as care is taken to avoid such awkward breaks,
      allowing breaks at appropriate punctuation other than <span id="ref-for-word-separator①">word separators</span> is recommended,
      as it results in more even-looking margins, particularly in narrow measures.
      The UA may use the width of the containing block, the text’s language,
      the <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break③">line-break</a> value,
      and other factors in assigning priorities:
      CSS does not define prioritization of line breaking opportunities.
      Prioritization of <span id="ref-for-word-separator②">word separators</span> is not expected,
      however,
      if <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①">word-break: break-all</a> is specified
      (since this value explicitly requests line breaking behavior
      not based on breaking at <span id="ref-for-word-separator③">word separators</span>)—<wbr>and is forbidden under <span class="css" id="ref-for-propdef-line-break④">line-break: anywhere</span>. 
    <li>Out-of-flow elements
      and inline element boundaries
      do not introduce a <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break④">forced line break</a> or <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①①">soft wrap opportunity</a> in the flow. 
    <li>The line breaking behavior of a replaced element or other atomic inline
      is equivalent to an ideographic character
      (Unicode linebreaking class <code>ID</code> <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a>),
      and additionally, for Web-compatibility, introduces a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①②">soft wrap opportunity</a> between itself and any adjacent U+00A0 NO-BREAK SPACE character. 
    <li>For <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①③">soft wrap opportunities</a> created by characters that disappear at the line break (e.g. U+0020 SPACE),
      properties on the box directly containing that character control the line breaking at that opportunity.
      For <span id="ref-for-soft-wrap-opportunity①④">soft wrap opportunities</span> defined by the boundary between two characters,
      the <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①⑤">white-space</a> property on the nearest common ancestor of the two characters controls breaking;
      which elements’ <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break⑤">line-break</a>, <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break②">word-break</a>, and <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap②">overflow-wrap</a> properties
      control the determination of <span id="ref-for-soft-wrap-opportunity①⑤">soft wrap opportunities</span> at such boundaries
      is undefined in Level 3. 
    <li>For <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①⑥">soft wrap opportunities</a> before the first or after the last character of a box,
      the break occurs immediately before/after the box (at its margin edge)
      rather than breaking the box between its content edge and the content. 
    <li>Line breaking in/around Ruby is defined in <a href="https://www.w3.org/TR/css-ruby-1/#line-breaks">CSS Ruby</a> <a data-link-type="biblio" href="#biblio-css-ruby-1">[CSS-RUBY-1]</a>. 
    <li>
     In order to avoid unexpected overflow,
      if the User Agent is unable to perform the requisite lexical or orthographic analysis
      for line breaking any <a data-link-type="dfn" href="#content-language" id="ref-for-content-language⑨">content language</a> that requires it—<wbr>for example due to lacking a dictionary for certain languages—<wbr>it must assume a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①⑦">soft wrap opportunity</a> between pairs of <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit②">typographic letter units</a> in that writing system. 
     <p class="note" role="note"><span>Note:</span> This provision is not triggered merely when
      the UA fails to find a word boundary in a particular text run;
      the text run may well be a single unbreakable word.
      It applies for example
      when a text run is composed of Khmer characters (U+1780 to U+17FF)
      if the User Agent does not know how to determine
      word boundaries in Khmer.</p>
   </ul>
   <h3 class="heading settled caniuse-paneled" data-level="5.2" id="word-break-property"><span class="secno">5.2. </span><span class="content"> Breaking Rules for Letters: the <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break③">word-break</a> property</span><span id="word-break"></span><a class="self-link" href="#word-break-property"></a></h3>
   <table class="def propdef" data-link-for-hint="word-break">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-word-break">word-break</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">normal <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one⑨">|</a> keep-all <span id="ref-for-comb-one①⓪">|</span> break-all <span id="ref-for-comb-one①①">|</span> break-word 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>normal 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box③">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property specifies <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity①⑧">soft wrap opportunities</a> between letters,
      i.e. where it is “normal” and permissible to break lines of text.
      Specifically it controls whether a <span id="ref-for-soft-wrap-opportunity①⑨">soft wrap opportunity</span> generally exists
      between adjacent <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit③">typographic letter units</a> (and/or non-<a data-link-type="dfn" href="#letter" id="ref-for-letter②">letter</a> <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①③">typographic character units</a> belonging to the <code>NU</code>, <code>AL</code>, <code>AI</code>, or <code>ID</code> Unicode line breaking classes <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a>).
      It does not affect rules governing the <span id="ref-for-soft-wrap-opportunity②⓪">soft wrap opportunities</span> created by <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②⑥">white space</a> (as well as by <a data-link-type="dfn" href="#other-space-separators" id="ref-for-other-space-separators③">other space separators</a>) and around punctuation.
      (See <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break⑥">line-break</a> for controls affecting punctuation and small kana.) </p>
   <div class="example" id="example-94a6a1ad">
    <a class="self-link" href="#example-94a6a1ad"></a> 
    <p>For example, in some styles of CJK typesetting, English words are allowed
        to break between any two letters, rather than only at spaces or hyphenation points;
        this can be enabled with <span class="css">word-break:break-all</span>. </p>
    <div class="figure">
      <img alt="A snippet of Japanese text with English in it. The word &apos;caption&apos; is broken into &apos;capt&apos; and &apos;ion&apos; across two lines." src="images/break-all.png"> 
     <p class="caption">An example of English text embedded in Japanese
          being broken at an arbitrary point in the word. </p>
    </div>
    <p>As another example, Korean has two styles of line-breaking:
        between any two Korean syllables (<a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break④">word-break: normal</a>)
        or, like English, mainly at spaces (<span class="css" id="ref-for-propdef-word-break⑤">word-break: keep-all</span>). </p>
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔 <strong>기
준을</strong> “글자” 또는 “어절” 단위로 한다.</pre>
<pre>각 줄의 마지막에 한글이 올 때 줄 나눔
<strong>기준을</strong> “글자” 또는 “어절” 단위로 한다.</pre>
   </div>
   <p class="note" role="note"> Note: To enable additional break opportunities only in the case of overflow,
      see <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap③">overflow-wrap</a>. </p>
   <p>Values have the following meanings:</p>
   <dl>
    <dt><dfn class="dfn-paneled css" data-dfn-for="word-break" data-dfn-type="value" data-export id="valdef-word-break-normal">normal</dfn>
    <dd>Words break according to their customary rules,
       as described <a href="#line-breaking">above</a>.
       Korean, which commonly exhibits two different behaviors,
       allows breaks between any two consecutive Hangul/Hanja. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="word-break" data-dfn-type="value" data-export id="valdef-word-break-break-all">break-all</dfn>
    <dd>
     Breaking is allowed within “words”:
        specifically,
        in addition to <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②①">soft wrap opportunities</a> allowed for <a class="css" data-link-type="maybe" href="#valdef-word-break-normal" id="ref-for-valdef-word-break-normal">normal</a>,
        any <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①④">typographic character units</a> resolving to the <code>NU</code> (“numeric”), <code>AL</code> (“alphabetic”), or <code>SA</code> (“Southeast Asian”)
        line breaking classes <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a> are instead treated as <code>ID</code> (“ideographic characters”)
        for the purpose of line-breaking.
        Hyphenation is not applied.
        This option is used mostly in a context where
        the text consists predominantly of CJK characters
        with only short non-CJK excerpts,
        and it is desired that the text be better distributed on each line. 
     <p class="note" role="note"><span>Note:</span> This value does not affect
        whether there are <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②②">soft wrap opportunities</a> around punctuation characters.
        To allow breaks anywhere, see <a class="css" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break⑦">line-break: anywhere</a>.</p>
    <dt><dfn class="css" data-dfn-for="word-break" data-dfn-type="value" data-export id="valdef-word-break-keep-all">keep-all<a class="self-link" href="#valdef-word-break-keep-all"></a></dfn>
    <dd>
     Breaking is forbidden within “words”:
        implicit <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②③">soft wrap opportunities</a> between <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit④">typographic letter units</a> (or other <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①⑤">typographic character units</a> belonging to the <code>NU</code>, <code>AL</code>, <code>AI</code>, or <code>ID</code> Unicode line breaking classes <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a>)
        are suppressed,
        i.e. breaks are prohibited between pairs of such characters
        (regardless of <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break⑧">line-break</a> settings other than <a class="css" data-link-type="maybe" href="#valdef-line-break-anywhere" id="ref-for-valdef-line-break-anywhere①">anywhere</a>)
        except where opportunities exist due to dictionary-based breaking.
        Otherwise this option is equivalent to <a class="css" data-link-type="maybe" href="#valdef-word-break-normal" id="ref-for-valdef-word-break-normal①">normal</a>.
        In this style, sequences of CJK characters do not break. 
     <p class="note" role="note">Note: This is the other common behavior for Korean (which uses <a data-link-type="dfn" href="#spaces" id="ref-for-spaces③⓪">spaces</a> between words),
        and is also useful for mixed-script text where CJK snippets are mixed
        into another language that uses <span id="ref-for-spaces③①">spaces</span> for separation. </p>
   </dl>
   <p>Symbols that line-break the same way as letters of a particular category
    are affected the same way as those letters. </p>
   <div class="example" id="example-0de246b7">
    <a class="self-link" href="#example-0de246b7"></a> 
    <p>Here’s a mixed-script sample text: </p>
<pre style="white-space: pre-wrap">这是一些汉字 and some Latin <bdi dir="rtl">و کمی خط عربی</bdi> และตัวอย่างการเขียนภาษาไทย
</pre>
    <p>The break-points are determined as follows (indicated by ‘·’): </p>
    <dl>
     <dt><a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break⑥">word-break: normal</a>
     <dd>
<pre style="white-space: pre-wrap">这·是·一·些·汉·字·and·some·Latin·<bdi dir="rtl">و·کمی·خط·عربی</bdi>·และ·ตัวอย่าง·การเขียน·ภาษาไทย
</pre>
     <dt><a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break⑦">word-break: break-all</a>
     <dd>
<pre style="white-space: pre-wrap">这·是·一·些·汉·字·a·n·d·s·o·m·e·L·a·t·i·n·<bdi dir="rtl">و·ﮐ·ﻤ·ﻰ·ﺧ·ﻁ·ﻋ·ﺮ·ﺑ·ﻰ</bdi>·แ·ล·ะ·ตั·ว·อ·ย่·า·ง·ก·า·ร·เ·ขี·ย·น·ภ·า·ษ·า·ไ·ท·ย
</pre>
     <dt><a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break⑧">word-break: keep-all</a>
     <dd>
<pre style="white-space: pre-wrap">这是一些汉字·and·some·Latin·<bdi dir="rtl">و·کمی·خط·عربی</bdi>·และ·ตัวอย่าง·การเขียน·ภาษาไทย
</pre>
    </dl>
   </div>
   <div class="example" id="jp-title-break">
    <a class="self-link" href="#jp-title-break"></a> 
    <p>Japanese is usually typeset allowing line breaks within words.
      However, it is sometimes preferred to suppress these wrapping opportunities
      and to only allow wrapping at the end of certain sentence fragments.
      This is most commonly done in very short pieces of text,
      such as headings and table or figure captions. </p>
    <p>This can be achieved by marking the allowed wrapping points
      with <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-wbr-element" id="ref-for-the-wbr-element">wbr</a></code> or U+200B ZERO WIDTH SPACE,
      and suppressing the other ones using <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break⑨">word-break: keep-all</a>.</p>
    <p>For instance, the following markup can produce either of the renderings below,
      depending on the value of the <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①⓪">word-break</a> property:</p>
<pre><code class="highlight"><c- p>&lt;</c-><c- f>h1</c-><c- p>></c->窓ぎわの<c- p>&lt;</c-><c- f>wbr</c-><c- p>></c->トットちゃん<c- p>&lt;/</c-><c- f>h1</c-><c- p>></c->
</code></pre>
    <table class="data">
     <colgroup span="1">
     <colgroup span="2">
     <thead>
      <tr>
       <td>
       <th><code class="highlight"><c- f>h1 </c-><c- p>{</c-> <c- k>word-break</c-><c- p>:</c-> normal <c- p>}</c-></code> 
       <th><code class="highlight"><c- f>h1 </c-><c- p>{</c-> <c- k>word-break</c-><c- p>:</c-> keep-all <c- p>}</c-></code> 
     <tbody>
      <tr>
       <th scope="row">Expected rendering 
       <td>
<pre lang="ja">窓ぎわのトットちゃ
ん</pre>
       <td>
<pre lang="ja">窓ぎわの
トットちゃん</pre>
      <tr>
       <th scope="row">Result in your browser 
       <td> <samp lang="ja"> 窓ぎわの<wbr>トットちゃん </samp> 
       <td> <samp lang="ja" style="word-break:keep-all"> 窓ぎわの<wbr>トットちゃん </samp> 
    </table>
   </div>
   <p>When shaping scripts such as Arabic
      are allowed to break within words due to <a class="css" data-link-type="maybe" href="#valdef-word-break-break-all" id="ref-for-valdef-word-break-break-all">break-all</a> the characters must still be shaped
      as if the word were <a href="#word-break-shaping">not broken</a> (see <a href="#word-break-shaping">§ 5.6 Shaping Across Intra-word Breaks</a>). </p>
   <p>For compatibility with legacy content,
      the <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①①">word-break</a> property also supports a deprecated <dfn class="css" data-dfn-for="word-break" data-dfn-type="value" data-export id="valdef-word-break-break-word">break-word<a class="self-link" href="#valdef-word-break-break-word"></a></dfn> keyword.
      When specified, this has the same effect as <span class="css" id="ref-for-propdef-word-break①②">word-break: normal</span> and <a class="css" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap④">overflow-wrap: anywhere</a>,
      regardless of the actual value of the <span class="property" id="ref-for-propdef-overflow-wrap⑤">overflow-wrap</span> property. </p>
   <h3 class="heading settled" data-level="5.3" id="line-break-property"><span class="secno">5.3. </span><span class="content"> Line Breaking Strictness: the <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break⑨">line-break</a> property</span><a class="self-link" href="#line-break-property"></a></h3>
   <table class="def propdef" data-link-for-hint="line-break">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-line-break">line-break</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">auto <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one①②">|</a> loose <span id="ref-for-comb-one①③">|</span> normal <span id="ref-for-comb-one①④">|</span> strict <span id="ref-for-comb-one①⑤">|</span> anywhere 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>auto 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box④">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property specifies the strictness of line-breaking rules applied
      within an element:
      especially how <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping③">wrapping</a> interacts with punctuation and symbols.
      Values have the following meanings:</p>
   <dl>
    <dt><dfn class="css" data-dfn-for="line-break" data-dfn-type="value" data-export id="valdef-line-break-auto">auto<a class="self-link" href="#valdef-line-break-auto"></a></dfn>
    <dd>The UA determines the set of line-breaking restrictions to use,
        and it may vary the restrictions based on the length of the line; e.g.,
        use a less restrictive set of line-break rules for short lines. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="line-break" data-dfn-type="value" data-export id="valdef-line-break-loose">loose</dfn>
    <dd>Breaks text using the least restrictive set of line-breaking
        rules. Typically used for short lines, such as in newspapers.
    <dt><dfn class="dfn-paneled css" data-dfn-for="line-break" data-dfn-type="value" data-export id="valdef-line-break-normal">normal</dfn>
    <dd>Breaks text using the most common set of line-breaking rules.
    <dt><dfn class="dfn-paneled css" data-dfn-for="line-break" data-dfn-type="value" data-export id="valdef-line-break-strict">strict</dfn>
    <dd>Breaks text using the most stringent set of line-breaking
        rules.
    <dt><dfn class="dfn-paneled css" data-dfn-for="line-break" data-dfn-type="value" data-export id="valdef-line-break-anywhere">anywhere</dfn>
    <dd>
     There is a <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②④">soft wrap opportunity</a> around every <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①⑥">typographic character unit</a>,
      including around any punctuation character or <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①①">preserved white spaces</a>,
      or in the middle of words,
      disregarding any prohibition against line breaks,
      even those introduced by characters with the GL, WJ, or ZWJ character class (see <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a>)
      or mandated by the <a class="property" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①③">word-break</a> property.
      The different wrapping opportunities must not be prioritized.
      Hyphenation is not applied. 
     <p class="note" role="note"><span>Note:</span> This value triggers the line breaking rules typically seen in terminals.</p>
    <p></p>
    <div class="note" role="note">
      Note: <a class="css" data-link-type="maybe" href="#valdef-line-break-anywhere" id="ref-for-valdef-line-break-anywhere②">anywhere</a> only allows <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①②">preserved white spaces</a> at the end of the line
        to be wrapped to the next line when <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①⑥">white-space</a> is set to <a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces⑤">break-spaces</a>,
        because in other cases: 
     <ul>
      <li data-md>
       <p><a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①③">preserved white space</a> at the end/start of the line is discarded (<a class="css" data-link-type="maybe" href="#valdef-white-space-normal" id="ref-for-valdef-white-space-normal⑧">normal</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-pre-line" id="ref-for-valdef-white-space-pre-line④">pre-line</a>)</p>
      <li data-md>
       <p>wrapping is forbidden altoghether (<a class="css" data-link-type="maybe" href="#valdef-white-space-nowrap" id="ref-for-valdef-white-space-nowrap④">nowrap</a>, <a class="css" data-link-type="maybe" href="#valdef-white-space-pre" id="ref-for-valdef-white-space-pre⑤">pre</a>)</p>
      <li data-md>
       <p>the <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①④">preserved white space</a> <a data-link-type="dfn" href="#hang" id="ref-for-hang①⓪">hang</a> (<a class="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap" id="ref-for-valdef-white-space-pre-wrap⑥">pre-wrap</a>).</p>
     </ul>
     <p>When it does have an effect on <a data-link-type="dfn" href="#preserved-white-space" id="ref-for-preserved-white-space①⑤">preserved white space</a>,
        with <a class="css" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①⑦">white-space: break-spaces</a>,
        it allows breaking before the first space of a sequence,
        which <a class="css" data-link-type="maybe" href="#valdef-white-space-break-spaces" id="ref-for-valdef-white-space-break-spaces⑥">break-spaces</a> on its own does not.</p>
    </div>
   </dl>
   <p class="feedback issue" id="issue-25a7af3b"><a class="self-link" href="#issue-25a7af3b"></a> The rules here are following guidelines from <a href="https://www.w3.org/TR/klreq/#line-break">KLREQ</a> for Korean,
      which don’t allow the Chinese/Japanese-specific breaks.
      However, the resulting behavior could use some review and feedback to make sure they are correct,
      particularly when “word basis” breaking is used (<a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①④">word-break: keep-all</a>) in Korean. </p>
   <p>CSS distinguishes between four levels of strictness in the rules for
      text wrapping.
      The precise set of rules in effect for each of <a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose">loose</a>, <a class="css" data-link-type="maybe" href="#valdef-line-break-normal" id="ref-for-valdef-line-break-normal">normal</a>, and <a class="css" data-link-type="maybe" href="#valdef-line-break-strict" id="ref-for-valdef-line-break-strict">strict</a> is up to the UA
      and should follow language conventions.
      However, this specification does require that:</p>
   <ul>
    <li>
      The following breaks are forbidden in <a class="css" data-link-type="maybe" href="#valdef-line-break-strict" id="ref-for-valdef-line-break-strict①">strict</a> line breaking
        and allowed in <a class="css" data-link-type="maybe" href="#valdef-line-break-normal" id="ref-for-valdef-line-break-normal①">normal</a> and <a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose①">loose</a>: 
     <ul>
      <li>breaks before Japanese small kana or the Katakana-Hiragana prolonged sound mark:
            i.e. characters with the Unicode Line Break property <code>CJ</code>.
            (See <a href="http://www.unicode.org/Public/UNIDATA/LineBreak.txt">LineBreak.txt</a> in <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a>.) 
     </ul>
    <li>
      The following breaks are allowed for <a class="css" data-link-type="maybe" href="#valdef-line-break-normal" id="ref-for-valdef-line-break-normal②">normal</a> and <a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose②">loose</a> line breaking
        if the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system④">writing system</a> is <a data-link-type="dfn" href="#writing-system-chinese" id="ref-for-writing-system-chinese①">Chinese</a> or <a data-link-type="dfn" href="#writing-system-japanese" id="ref-for-writing-system-japanese①">Japanese</a>,
        and are otherwise forbidden: 
     <ul>
      <li>breaks before hyphens:<br> ‐ U+2010,  – U+2013,  〜 U+301C,
            ゠ U+30A0 
     </ul>
    <li>
      The following breaks are forbidden for <a class="css" data-link-type="maybe" href="#valdef-line-break-normal" id="ref-for-valdef-line-break-normal③">normal</a> and <a class="css" data-link-type="maybe" href="#valdef-line-break-strict" id="ref-for-valdef-line-break-strict②">strict</a> line breaking
        and allowed in <a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose③">loose</a>: 
     <ul>
      <li>breaks before iteration marks:<br> 々 U+3005,  〻 U+303B,  ゝ U+309D,
            ゞ U+309E,  ヽ U+30FD,  ヾ U+30FE 
      <li>breaks between inseparable characters
            such as ‥ U+2025,  … U+2026
            i.e. characters with the Unicode Line Break property <code>IN</code>.
            (See <a href="http://www.unicode.org/Public/UNIDATA/LineBreak.txt">LineBreak.txt</a> in <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a>.) 
     </ul>
    <li>
      The following breaks are allowed for <a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose④">loose</a> if the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system⑤">writing system</a> is <a data-link-type="dfn" href="#writing-system-chinese" id="ref-for-writing-system-chinese②">Chinese</a> or <a data-link-type="dfn" href="#writing-system-japanese" id="ref-for-writing-system-japanese②">Japanese</a> and are otherwise forbidden: 
     <ul>
      <li>breaks before certain centered punctuation marks:<br> ・ U+30FB,
            ： U+FF1A,  ； U+FF1B,  ･ U+FF65,
            ‼ U+203C,
            ⁇ U+2047,  ⁈ U+2048,  ⁉ U+2049,
            ！ U+FF01,  ？ U+FF1F 
      <li>breaks before suffixes:<br> Characters with the Unicode Line Break property <code>PO</code> and the <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width④">East Asian Width property</a> <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a> <code>Ambiguous</code>, <code>Fullwidth</code>, or <code>Wide</code>. 
      <li>breaks after prefixes:<br> Characters with the Unicode Line Break property <code>PR</code> and the <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width⑤">East Asian Width property</a> <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a> <code>Ambiguous</code>, <code>Fullwidth</code>, or <code>Wide</code>. 
     </ul>
   </ul>
   <p class="note" role="note">Note:
      The requirements listed above
      only create distinctions in CJK text.
      In an implementation that matches only the rules above,
      and no additional rules, <a class="property" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break①⓪">line-break</a> would only affect CJK code points
      unless the writing system is tagged as <a data-link-type="dfn" href="#writing-system-chinese" id="ref-for-writing-system-chinese③">Chinese</a> or <a data-link-type="dfn" href="#writing-system-japanese" id="ref-for-writing-system-japanese③">Japanese</a>.
      Future levels may add additional specific rules
      for other writing systems and languages
      as their requirements become known. </p>
   <div class="example" id="example-038e656c"><a class="self-link" href="#example-038e656c"></a> As UAs can add additional distinctions
      between <a class="css" data-link-type="maybe" href="#valdef-line-break-strict" id="ref-for-valdef-line-break-strict③">strict</a>/<a class="css" data-link-type="maybe" href="#valdef-line-break-normal" id="ref-for-valdef-line-break-normal④">normal</a>/<a class="css" data-link-type="maybe" href="#valdef-line-break-loose" id="ref-for-valdef-line-break-loose⑤">loose</a> modes,
      these values can exhibit differences in other writing systems as well.
      For example, a UA with sufficiently-advanced Thai language processing ability
      could choose to map different levels of strictness in Thai line-breaking
      to these keywords,
      e.g. disallowing breaks within compound words in <span class="css" id="ref-for-valdef-line-break-strict④">strict</span> mode
      (e.g. breaking ตัวอย่างการเขียนภาษาไทย as ตัวอย่าง·การเขียน·ภาษาไทย)
      while allowing more breaks in <span class="css" id="ref-for-valdef-line-break-loose⑥">loose</span> (ตัวอย่าง·การ·เขียน·ภาษา·ไทย). </div>
   <p class="note" role="note">Note: The CSSWG recognizes that in a future edition of the
      specification finer control over line breaking may be necessary to
      satisfy high-end publishing requirements. </p>
   <h3 class="heading settled caniuse-paneled" data-level="5.4" id="hyphenation"><span class="secno">5.4. </span><span class="content"> Hyphenation: the <a class="property" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens①">hyphens</a> property</span><span id="hyphens-property"></span><a class="self-link" href="#hyphenation"></a></h3>
   <p><dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="hyphenation|hyphenate" data-noexport id="hyphenate">Hyphenation</dfn> is the controlled splitting of words
      where they usually would not be allowed to break
      to improve the layout of paragraphs,
      typically splitting words at syllabic or morphemic boundaries,
      and visually indicating the split (usually by inserting a hyphen, U+2010).
      In some cases, hyphenation may also alter the spelling of a word.
      Regardless, hyphenation is a rendering effect only:
      it must have no effect on the underlying document content
      or on text selection or searching. </p>
   <p>Hyphenation occurs when the line breaks at a valid <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="hyphenation-opportunity">hyphenation opportunity</dfn>,
      which is a type of <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②⑤">soft wrap opportunity</a> that exists within a word where <a data-link-type="dfn" href="#hyphenate" id="ref-for-hyphenate">hyphenation</a> is allowed.
      In CSS <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity">hyphenation opportunities</a> are controlled
      with the <a class="property" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens②">hyphens</a> property.
      CSS Text Level 3 does not define the exact rules for <span id="ref-for-hyphenate①">hyphenation</span>;
      however UAs are strongly encouraged
      to optimize their choice of break points
      and to chose language-appropriate hyphenation points. </p>
   <p class="note" role="note"><span>Note:</span> The <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②⑥">soft wrap opportunity</a> introduced by
      the U+002D HYPHEN-MINUS character
      or the U+2010 HYPHEN character
      is not a <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity①">hyphenation opportunity</a>,
      as no visual indication of the split is <em>created</em> when wrapping:
      these characters are visible whether the line is wrapped at that point or not.</p>
   <p>Hyphenation opportunities <em>are</em> considered when calculating <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content①">min-content intrinsic sizes</a>.</p>
   <table class="def propdef" data-link-for-hint="hyphens">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-hyphens">hyphens</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">none <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one①⑥">|</a> manual <span id="ref-for-comb-one①⑦">|</span> auto 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>manual 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box⑤">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property controls whether <a data-link-type="dfn" href="#hyphenate" id="ref-for-hyphenate②">hyphenation</a> is allowed to create more <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②⑦">soft wrap opportunities</a> within a line of text.
      Values have the following meanings: </p>
   <dl>
    <dt><dfn class="css" data-dfn-for="hyphens" data-dfn-type="value" data-export id="valdef-hyphens-none">none<a class="self-link" href="#valdef-hyphens-none"></a></dfn> 
    <dd>
     Words are not hyphenated, even if characters inside
          the word explicitly define <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity②">hyphenation opportunities</a>. 
     <p class="note" role="note"><span>Note:</span> This does not suppress the existing <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②⑧">soft wrap opportunities</a> introduced by always visible characters such as
          U+002D HYPHEN-MINUS
          or U+2010 HYPHEN.</p>
    <dt><dfn class="css" data-dfn-for="hyphens" data-dfn-type="value" data-export id="valdef-hyphens-manual">manual<a class="self-link" href="#valdef-hyphens-manual"></a></dfn> 
    <dd>
     Words are only hyphenated where there are characters inside the word
          that explicitly suggest <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity③">hyphenation opportunities</a>. 
     <div class="example" id="example-b6db0d14">
      <a class="self-link" href="#example-b6db0d14"></a> 
      <p>In Unicode, U+00AD is a conditional "soft hyphen" and U+2010 is an
          unconditional hyphen. Unicode Standard Annex #14 describes the <a href="http://unicode.org/reports/tr14/#SoftHyphen">role of soft hyphens in</a> Unicode line breaking. <a data-link-type="biblio" href="#biblio-uax14">[UAX14]</a> In HTML, &amp;shy; represents the soft hyphen character,
          which suggests a hyphenation opportunity. </p>
<pre>ex&amp;shy;ample</pre>
     </div>
    <dt><dfn class="css" data-dfn-for="hyphens" data-dfn-type="value" data-export id="valdef-hyphens-auto">auto<a class="self-link" href="#valdef-hyphens-auto"></a></dfn> 
    <dd>
     Words may be broken at <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity④">hyphenation opportunities</a> determined automatically by a language-appropriate hyphenation resource
          in addition to those indicated explicitly by a conditional hyphen.
          Automatic <span id="ref-for-hyphenation-opportunity⑤">hyphenation opportunities</span> within a word must be ignored
          if the word contains a conditional hyphen (&amp;shy; or U+00AD),
          in favor of the conditional hyphen(s).
          However, if, even after breaking at such opportunities,
          a portion of that word is is still too long to fit on one line,
          an automatic hyphenation opportunity may be used. 
     <p class="note" role="note"><span>Note:</span> In some languages
          (such as English but not German),
          it may appropriate to avoid having hyphenation opportunities in mixed case words,
          as those may indicate proper nouns.
          This type of heuristic is however not mandated by this specification,
          as is up to the User Agent and its language-specific hyphenation resource.</p>
   </dl>
   <p>Correct automatic hyphenation requires a hyphenation resource
      appropriate to the language of the text being broken.
      The UA must therefore only automatically hyphenate text
      for which the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①⓪">content language</a> is known
      and for which it has an appropriate hyphenation resource. </p>
   <p>For the purpose of the <a class="property" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens③">hyphens</a> property,
      what constitutes a “word” is UA-dependent.
      However, inline element boundaries
      and out-of-flow elements
      must be ignored when determining word boundaries. </p>
   <p class="advisement"> Authors should correctly tag their content’s <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①①">language</a> (e.g. using the HTML <code>lang</code> attribute
      or the HTTP <code>Content-Language</code> header)
      in order to obtain correct automatic hyphenation. </p>
   <p>The character or characters visually shown due to hyphenation
      at a <a data-link-type="dfn" href="#hyphenation-opportunity" id="ref-for-hyphenation-opportunity⑥">hyphenation opportunity</a> created by a conditional hyphen character (&amp;shy; or U+00AD)
      are inserted in-place,
      and styled according to any property that applies to the conditional hyphen character.</p>
   <div class="example" id="example-140e5fe9">
    <a class="self-link" href="#example-140e5fe9"></a> 
<pre><code class="highlight">ex<c- p>&lt;</c-><c- f>span</c-> <c- e>style</c-><c- o>=</c-><c- s>"color:red"</c-><c- p>></c-><c- ni>&amp;shy;</c-><c- p>&lt;/</c-><c- f>span</c-><c- p>></c->ample</code></pre>
    <p>When the markup above is hyphenated, it is rendered as <span style="display: inline-block; background: white; border: solid 1px; vertical-align: middle; padding: 0 1ch;"> ex<span style="color:red;">-</span><br> ample </span> </p>
   </div>
   <p>When shaping scripts such as Arabic are allowed to break within words
      due to hyphenation,
      the characters must still be shaped
      as if the word were <a href="#word-break-shaping">not broken</a> (see <a href="#word-break-shaping">§ 5.6 Shaping Across Intra-word Breaks</a>). </p>
   <div class="example" id="example-e625ec40">
    <a class="self-link" href="#example-e625ec40"></a> 
    <p>For example, if the Uyghur word “داميدى”
      were hyphenated, it would appear as <img alt="[isolated DAL + isolated ALEF + initial MEEM + medial YEH + hyphen + line-break + final DAL + isolated ALEF MAKSURA]" src="images/uyghur-hyphenate-joined.png"> not as <img alt="[isolated DAL + isolated ALEF + initial MEEM + final YEH + hyphen + line-break + isolated DAL + isolated ALEF MAKSURA]" src="images/uyghur-hyphenate-unjoined.png"> </p>
   </div>
   <h3 class="heading settled caniuse-paneled" data-level="5.5" id="overflow-wrap-property"><span class="secno">5.5. </span><span class="content"> Overflow Wrapping: the <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap⑥">overflow-wrap</a>/<a class="property" data-link-type="propdesc" href="#propdef-word-wrap" id="ref-for-propdef-word-wrap">word-wrap</a> property</span><span id="overflow-wrap"></span><a class="self-link" href="#overflow-wrap-property"></a></h3>
   <table class="def propdef" data-link-for-hint="overflow-wrap">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-overflow-wrap">overflow-wrap</dfn>, <dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-word-wrap">word-wrap</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">normal <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one①⑧">|</a> break-word <span id="ref-for-comb-one①⑨">|</span> anywhere 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>normal 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box⑥">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property specifies whether the UA may break at otherwise disallowed points within a line
      to prevent overflow,
      when an otherwise-unbreakable string is too long to fit within the line box.
      It only has an effect when <a class="property" data-link-type="propdesc" href="#propdef-white-space" id="ref-for-propdef-white-space①⑧">white-space</a> allows <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping④">wrapping</a>. Possible values:</p>
   <dl>
    <dt><dfn class="css" data-dfn-for="overflow-wrap" data-dfn-type="value" data-export id="valdef-overflow-wrap-normal">normal<a class="self-link" href="#valdef-overflow-wrap-normal"></a></dfn>
    <dd>Lines may break only at allowed break points. However, the restrictions
      introduced by <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①⑤">word-break: keep-all</a> may be relaxed to match <span class="css" id="ref-for-propdef-word-break①⑥">word-break: normal</span> if there are no otherwise-acceptable break points in the line.
    <dt><dfn class="dfn-paneled css" data-dfn-for="overflow-wrap" data-dfn-type="value" data-export id="valdef-overflow-wrap-anywhere">anywhere</dfn> 
    <dd>An otherwise unbreakable sequence of <a data-link-type="dfn" href="#character" id="ref-for-character①①">characters</a> may be broken at an arbitrary point if
      there are no otherwise-acceptable break points in the line.
      Shaping characters are still shaped as if the word were not
      broken, and grapheme clusters must stay together as one unit.
      No hyphenation character is inserted at the break point. <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity②⑨">Soft wrap opportunities</a> introduced by <a class="css" data-link-type="maybe" href="#valdef-overflow-wrap-anywhere" id="ref-for-valdef-overflow-wrap-anywhere">anywhere</a> <em>are considered</em> when calculating <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content②">min-content intrinsic sizes</a>. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="overflow-wrap" data-dfn-type="value" data-export id="valdef-overflow-wrap-break-word">break-word</dfn>
    <dd>As for <a class="css" data-link-type="maybe" href="#valdef-overflow-wrap-anywhere" id="ref-for-valdef-overflow-wrap-anywhere①">anywhere</a> except that <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity③⓪">soft wrap opportunities</a> introduced by <a class="css" data-link-type="maybe" href="#valdef-overflow-wrap-break-word" id="ref-for-valdef-overflow-wrap-break-word">break-word</a> are <em>not</em> considered
      when calculating <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content③">min-content intrinsic sizes</a>. 
   </dl>
   <p>For legacy reasons, UAs must treat <a class="property" data-link-type="propdesc" href="#propdef-word-wrap" id="ref-for-propdef-word-wrap①">word-wrap</a> as an <a data-link-type="dfn" href="https://drafts.csswg.org/css-cascade-4/#legacy-name-alias" id="ref-for-legacy-name-alias">legacy name alias</a> of the <a class="property" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap⑦">overflow-wrap</a> property. </p>
   <h3 class="heading settled" data-level="5.6" id="word-break-shaping"><span class="secno">5.6. </span><span class="content"> Shaping Across Intra-word Breaks</span><a class="self-link" href="#word-break-shaping"></a></h3>
   <p>When shaping scripts such as Arabic <a data-link-type="dfn" href="#wrapping" id="ref-for-wrapping⑤">wrap</a> at unforced <a data-link-type="dfn" href="#soft-wrap-opportunity" id="ref-for-soft-wrap-opportunity③①">soft wrap opportunities</a> within words
  (such as when breaking due to <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①⑦">word-break: break-all</a>, <a class="css" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break①①">line-break: anywhere</a>, <a class="css" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap⑧">overflow-wrap: break-word</a>, <span class="css" id="ref-for-propdef-overflow-wrap⑨">overflow-wrap: anywhere</span>,
  or when <a data-link-type="dfn" href="#hyphenate" id="ref-for-hyphenate③">hyphenating</a>)
  the characters must still be shaped
  (their joining forms chosen)
  as if the word were still whole. </p>
   <div class="example" id="example-1e01dc8c"><a class="self-link" href="#example-1e01dc8c"></a> For example, if the word “نوشتن” is broken between the “ش” and “ت”,
    the “ش” still takes its initial form (“ﺷ”), and the “ت” its medial form (“ﺘ”)—<wbr>forming as in “ﻧﻮﺷ | ﺘﻦ”, not as in “نوش | تن”. </div>
   <h2 class="heading settled" data-level="6" id="justification"><span class="secno">6. </span><span class="content"> Alignment and Justification</span><a class="self-link" href="#justification"></a></h2>
   <p>Alignment and justification controls how inline content is distributed within a line box. </p>
   <h3 class="heading settled" data-level="6.1" id="text-align-property"><span class="secno">6.1. </span><span class="content"> Text Alignment: the <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align">text-align</a> shorthand</span><span id="text-align"></span><a class="self-link" href="#text-align-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-align">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-align">text-align</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">start <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one②⓪">|</a> end <span id="ref-for-comb-one②①">|</span> left <span id="ref-for-comb-one②②">|</span> right <span id="ref-for-comb-one②③">|</span> center <span id="ref-for-comb-one②④">|</span> justify <span id="ref-for-comb-one②⑤">|</span> match-parent <span id="ref-for-comb-one②⑥">|</span> justify-all 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>start 
     <tr>
      <th>Applies to:
      <td>block containers 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>see individual properties 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>see individual properties 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
     <tr>
      <th>Canonical order:
      <td>n/a 
   </table>
   <p>This <a data-link-type="dfn" href="https://drafts.csswg.org/css-cascade-4/#shorthand-property" id="ref-for-shorthand-property">shorthand property</a> sets the <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all">text-align-all</a> and <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last">text-align-last</a> properties
      and describes how the inline-level content of a block
      is aligned along the inline axis
      if the content does not completely fill the line box.
      Values other than <a class="css" data-link-type="maybe" href="#valdef-text-align-justify-all" id="ref-for-valdef-text-align-justify-all">justify-all</a> or <a class="css" data-link-type="maybe" href="#valdef-text-align-match-parent" id="ref-for-valdef-text-align-match-parent">match-parent</a> are assigned to <span class="property" id="ref-for-propdef-text-align-all①">text-align-all</span> and reset <span class="property" id="ref-for-propdef-text-align-last①">text-align-last</span> to <a class="css" data-link-type="maybe" href="#valdef-text-align-last-auto" id="ref-for-valdef-text-align-last-auto">auto</a>. </p>
   <p>Values have the following meanings:</p>
   <dl>
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-start">start</dfn>
    <dd>Inline-level content is aligned to the <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#start" id="ref-for-start">start</a> edge of the line box. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-end">end</dfn>
    <dd>Inline-level content is aligned to the <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#end" id="ref-for-end">end</a> edge of the line box. 
    <dt><dfn class="css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-left">left<a class="self-link" href="#valdef-text-align-left"></a></dfn>
    <dd>Inline-level content is aligned to the <a href="https://www.w3.org/TR/css-writing-modes-3/#line-left">line left</a> edge of the line box.
        (In vertical writing modes,
         this will be either the physical top or bottom,
         depending on <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation" id="ref-for-propdef-text-orientation">text-orientation</a>.) <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> 
    <dt><dfn class="css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-right">right<a class="self-link" href="#valdef-text-align-right"></a></dfn>
    <dd>Inline-level content is aligned to the <a href="https://www.w3.org/TR/css-writing-modes-3/#line-right">line right</a> edge of the line box.
        (In vertical writing modes,
         this will be either the physical top or bottom,
         depending on <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation" id="ref-for-propdef-text-orientation①">text-orientation</a>.) <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-center">center</dfn>
    <dd>Inline-level content is centered within the line box. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-justify">justify</dfn>
    <dd>Text is justified according to the method specified by the <a class="property" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify①">text-justify</a> property,
        in order to exactly fill the line box.
        Unless otherwise specified by <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last②">text-align-last</a>,
        the last line before a forced break or the end of the block is <a class="css" data-link-type="maybe" href="#valdef-text-align-start" id="ref-for-valdef-text-align-start">start</a>-aligned. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-justify-all">justify-all</dfn>
    <dd>Sets both <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all②">text-align-all</a> and <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last③">text-align-last</a> to <a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify">justify</a>,
        forcing the last line to justify as well. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-align" data-dfn-type="value" data-export id="valdef-text-align-match-parent">match-parent</dfn>
    <dd>This value behaves the same as <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/css-cascade-4/#valdef-all-inherit" id="ref-for-valdef-all-inherit">inherit</a> (computes to its parent’s computed value)
        except that an <a data-link-type="dfn" href="https://drafts.csswg.org/css-cascade-4/#inherited-value" id="ref-for-inherited-value">inherited value</a> of <a class="css" data-link-type="maybe" href="#valdef-text-align-start" id="ref-for-valdef-text-align-start①">start</a> or <a class="css" data-link-type="maybe" href="#valdef-text-align-end" id="ref-for-valdef-text-align-end">end</a> is interpreted against the parent’s
        (or the <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#initial-containing-block" id="ref-for-initial-containing-block">initial containing block</a>’s, if there is no parent) <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction" id="ref-for-propdef-direction">direction</a> value
        and results in a computed value of either <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-left" id="ref-for-propdef-left">left</a> or <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-position-3/#propdef-right" id="ref-for-propdef-right">right</a>.
        When specified on the <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align①">text-align</a> shorthand,
        sets both <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all③">text-align-all</a> and <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last④">text-align-last</a> to <a class="css" data-link-type="maybe" href="#valdef-text-align-match-parent" id="ref-for-valdef-text-align-match-parent①">match-parent</a>. 
   </dl>
   <p>A block of text is a stack of <a href="https://www.w3.org/TR/CSS2/visuren.html#line-box">line boxes</a>.
      This property specifies how the inline-level boxes within each line box
      align with respect to the start and end sides of the line box.
      Alignment is not with respect to the <a href="https://www.w3.org/TR/CSS2/visuren.html#viewport">viewport</a> or containing block. </p>
   <p>In the case of <a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify①">justify</a>, the UA may stretch or shrink any inline boxes
      by <a href="#text-justify-property">adjusting</a> their text. (See <a class="property" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify②">text-justify</a>.)
      If an element’s <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②⑦">white space</a> is not <a href="#collapse">collapsible</a>,
      then the UA is not required to adjust its text for the purpose of justification
      and may instead treat the text as having no <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity">justification opportunities</a>.
      If the UA chooses to adjust the text, then it must ensure
      that <a data-link-type="dfn" href="#tab-stop" id="ref-for-tab-stop②">tab stops</a> continue to line up as required by the <a href="#white-space-rules">white space processing rules</a>. </p>
   <p>If (after justification, if any) the inline contents of a line box are too long to fit within it,
      then the contents are <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#start" id="ref-for-start①">start</a>-aligned:
      any content that doesn’t fit overflows the line box’s <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#end" id="ref-for-end①">end</a> edge. </p>
   <p>See <a href="#bidi-linebox">Bidirectionality and line boxes</a> for details on how to determine the <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#start" id="ref-for-start②">start</a> and <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#end" id="ref-for-end②">end</a> edges of a line box. </p>
   <h3 class="heading settled" data-level="6.2" id="text-align-all-property"><span class="secno">6.2. </span><span class="content"> Default Text Alignment: the <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all④">text-align-all</a> property</span><span id="text-align-all"></span><a class="self-link" href="#text-align-all-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-align-all">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-align-all">text-align-all</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">start <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one②⑦">|</a> end <span id="ref-for-comb-one②⑧">|</span> left <span id="ref-for-comb-one②⑨">|</span> right <span id="ref-for-comb-one③⓪">|</span> center <span id="ref-for-comb-one③①">|</span> justify <span id="ref-for-comb-one③②">|</span> match-parent 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>start 
     <tr>
      <th>Applies to:
      <td>block containers 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>keyword as specified, except for <a class="css" data-link-type="maybe" href="#valdef-text-align-match-parent" id="ref-for-valdef-text-align-match-parent②">match-parent</a> which computes as defined above 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This longhand of the <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align②">text-align</a> <a data-link-type="dfn" href="https://drafts.csswg.org/css-cascade-4/#shorthand-property" id="ref-for-shorthand-property①">shorthand property</a> specifies the inline alignment of all lines of inline content in the block container,
    except for last lines overridden by a non-<a class="css" data-link-type="maybe" href="#valdef-text-align-last-auto" id="ref-for-valdef-text-align-last-auto①">auto</a> value of <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last⑤">text-align-last</a>.
    See <span class="property" id="ref-for-propdef-text-align③">text-align</span> for a full description of values. </p>
   <p class="advisement"> Authors should use the <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align④">text-align</a> shorthand instead of this property. </p>
   <h3 class="heading settled caniuse-paneled" data-level="6.3" id="text-align-last-property"><span class="secno">6.3. </span><span class="content"> Last Line Alignment: the <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last⑥">text-align-last</a> property</span><span id="text-align-last"></span><a class="self-link" href="#text-align-last-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-align-last">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-align-last">text-align-last</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">auto <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one③③">|</a> start <span id="ref-for-comb-one③④">|</span> end <span id="ref-for-comb-one③⑤">|</span> left <span id="ref-for-comb-one③⑥">|</span> right <span id="ref-for-comb-one③⑦">|</span> center <span id="ref-for-comb-one③⑧">|</span> justify <span id="ref-for-comb-one③⑨">|</span> match-parent 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>auto 
     <tr>
      <th>Applies to:
      <td>block containers 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property describes how the last line of a block or a line
      right before a <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break⑤">forced line break</a> is aligned. </p>
   <p>If <dfn class="dfn-paneled css" data-dfn-for="text-align-last" data-dfn-type="value" data-export id="valdef-text-align-last-auto">auto</dfn> is specified,
      content on the affected line is aligned per <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all⑤">text-align-all</a> unless <span class="property" id="ref-for-propdef-text-align-all⑥">text-align-all</span> is set to <a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify②">justify</a>,
      in which case it is start-aligned.
      All other values are interpreted as described for <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align⑤">text-align</a>. </p>
   <h3 class="heading settled caniuse-paneled" data-level="6.4" id="text-justify-property"><span class="secno">6.4. </span><span class="content"> Justification Method: the <a class="property" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify③">text-justify</a> property</span><span id="text-justify"></span><a class="self-link" href="#text-justify-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-justify">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-justify">text-justify</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">auto <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one④⓪">|</a> none <span id="ref-for-comb-one④①">|</span> inter-word <span id="ref-for-comb-one④②">|</span> inter-character 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>auto 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box⑦">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property selects the justification method used when a line’s
      alignment is set to <a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify③">justify</a> (see <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align⑥">text-align</a>).
      The property applies to inlines,
      but is inherited from block containers to the root inline box containing their inline-level contents.
      It takes the following values:</p>
   <dl>
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-justify" data-dfn-type="value" data-export id="valdef-text-justify-auto">auto</dfn>
    <dd>
     The UA determines the justification algorithm to follow, based
          on a balance between performance and adequate presentation quality.
          Since justification rules vary by writing system and language,
          UAs should, where possible, use a justification algorithm appropriate to the text. 
     <p class="example" id="example-7806e26f"><a class="self-link" href="#example-7806e26f"></a> For example, the UA could use by default a justification method that is a
          simple universal compromise for all writing systems—such as
          primarily expanding <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator④">word separators</a> and between CJK <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit⑤">typographic letter units</a> along with secondarily expanding between Southeast Asian <span id="ref-for-typographic-letter-unit⑥">typographic letter units</span>.
          Then, in cases where the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①②">content language</a> of the paragraph is known,
          it could choose a more language-tailored justification behavior
          e.g. following <a data-link-type="biblio" href="#biblio-jlreq">[JLREQ]</a> for Japanese,
          using cursive elongation for Arabic,
          using <a class="css" data-link-type="maybe" href="#valdef-text-justify-inter-word" id="ref-for-valdef-text-justify-inter-word">inter-word</a> for German,
          etc. </p>
     <div class="figure" id="fig-text-justify-cursive">
      <p> <img alt="Two lines of calligraphic Arabic end together due to a mix of compressed and swash forms." src="images/text-justify-cursive.png" title="Swash forms elongate the first line while a compressed contextual ligature shortens the second, allowing both to end precisely together."></p>
      <p class="caption">An example of cursively-justified Arabic text,
          rendered by <a href="http://www.decotype.com/">Tasmeem</a>.
          Like English, Arabic can be justified by adjusting the spacing between words,
          but in most styles it can also be justified by calligraphically elongating or compressing the letterforms themselves.
          In this example, the upper text is extended to fill the line by the use of elongated (kashida) forms and swash forms,
          while the bottom line is compressed slightly by using a stacked combination for the characters between ت and م.
          By employing traditional calligraphic techniques,
          a typesetter can justify the line while preserving flow and color,
          providing a very high quality justification effect.
          However, this is by its nature a very script-specific effect. </p>
     </div>
     <div class="figure" id="fig-text-justify-compromise">
      <p> <img alt="Extra space is partly to spaces and partly among CJK and Thai letters." src="images/text-justify-compromise.png"></p>
      <p class="caption">Mixed-script text with <a class="css" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify④">text-justify: auto</a>:
            this interpretation uses a universal-compromise justification method,
            expanding at spaces as well as between CJK and Southeast Asian letters.
            This effectively uses inter-word + inter-ideograph spacing
            for lines that have word-separators and/or CJK characters
            and falls back to inter-cluster behavior for lines that don’t
            or for which the space stretches too far. </p>
     </div>
    <dt><dfn class="css" data-dfn-for="text-justify" data-dfn-type="value" data-export id="valdef-text-justify-none">none<a class="self-link" href="#valdef-text-justify-none"></a></dfn>
    <dd>
     Justification is disabled: there are no <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①">justification opportunities</a> within the text. 
     <div class="figure" id="fig-text-justify-none">
      <p> <img alt="No extra space is insesrted." src="images/text-justify-none.png"></p>
      <p class="caption">Mixed-script text with <a class="css" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify⑤">text-justify: none</a> </p>
     </div>
     <p class="note" role="note">Note: This value is intended for use in user stylesheets
          to improve readability or for accessibility purposes. </p>
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-justify" data-dfn-type="value" data-export id="valdef-text-justify-inter-word">inter-word</dfn>
    <dd>
     Justification adjusts spacing at <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator⑤">word separators</a> only
          (effectively varying the used <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing②">word-spacing</a> on the line).
          This behavior is typical for languages that separate words using spaces,
          like English or Korean. 
     <div class="figure" id="fig-text-justify-interword">
      <p> <img alt="Extra space is equally distributed mainly to spaces." src="images/text-justify-interword.png"></p>
      <p class="caption">Mixed-script text with <a class="css" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify⑥">text-justify: inter-word</a> </p>
     </div>
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-justify" data-dfn-type="value" data-export id="valdef-text-justify-inter-character">inter-character</dfn>
    <dd>
     Justification adjusts spacing between each pair of adjacent <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①⑦">typographic character units</a> (effectively varying the used <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①">letter-spacing</a> on the line).
          This value is sometimes used in East Asian systems such as Japanese. 
     <div class="figure" id="fig-text-justify-distribute">
      <p> <img alt="Extra space is equally distributed at points between spaces and letters of all writing systems." src="images/text-justify-distribute.png"></p>
      <p class="caption">Mixed-script text with <a class="css" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify⑦">text-justify: inter-character</a> </p>
     </div>
      For legacy reasons, UAs must also support the alternate keyword <dfn class="css" data-dfn-for="text-justify" data-dfn-type="value" data-export id="valdef-text-justify-distribute">distribute<a class="self-link" href="#valdef-text-justify-distribute"></a></dfn> with the exact same meaning and behavior. 
   </dl>
   <p class="advisement"> Since optimal justification is language-sensitive,
      authors should correctly language-tag their content for the best results. </p>
   <p class="note" role="note"><span>Note:</span> The guidelines in this level of CSS do not describe a complete
    justification algorithm. They are merely a minimum set of requirements
    that a complete algorithm should meet. Limiting the set of requirements
    gives UAs some latitude in choosing a justification algorithm that
    meets their needs and desired balance of quality, speed, and complexity.</p>
   <h4 class="heading settled" data-level="6.4.1" id="expanding-text"><span class="secno">6.4.1. </span><span class="content"> Expanding and Compressing Text</span><a class="self-link" href="#expanding-text"></a></h4>
   <p>When justifying text, the user agent takes the remaining space between
    the ends of a line’s contents and the edges of its line box, and
    distributes that space throughout its contents so that the contents
    exactly fill the line box.
    The user agent may alternatively distribute negative space,
    putting more content on the line than would otherwise fit under normal spacing conditions. </p>
   <p>A <span id="expansion-opportunity"><dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="justification-opportunity">justification opportunity</dfn></span> is
    a point where the justification algorithm may alter spacing within the text.
    A justification opportunity can be provided by a single <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit①⑧">typographic character unit</a> (such as a <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator⑥">word separator</a>),
    or by the juxtaposition of two <span id="ref-for-typographic-character-unit①⑨">typographic character units</span>.
    As with controls for <a href="#line-break-details">soft wrap opportunities</a>,
    whether a <span id="ref-for-typographic-character-unit②⓪">typographic character unit</span> provides a <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity②">justification opportunity</a> is controlled by the <a class="property" data-link-type="propdesc" href="#propdef-text-justify" id="ref-for-propdef-text-justify⑧">text-justify</a> value of its parent;
    similarly, whether a <span id="ref-for-justification-opportunity③">justification opportunity</span> exists between two consecutive <span id="ref-for-typographic-character-unit②①">typographic character units</span> is determined by the <span class="property" id="ref-for-propdef-text-justify⑨">text-justify</span> value of their nearest common ancestor. </p>
   <p> Space distributed by justification is <em>in addition to</em> the spacing defined by the <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing②">letter-spacing</a> or <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing③">word-spacing</a> properties.
    When such additional space is distributed to a <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator⑦">word separator</a> <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity④">justification opportunity</a>,
    it is applied under the same rules as for <span class="property" id="ref-for-propdef-word-spacing④">word-spacing</span>.
    Similarly, when space is distributed to an <span id="ref-for-justification-opportunity⑤">justification opportunity</span> between
    two <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit②②">typographic character units</a>,
    it is applied under the same rules as for <span class="property" id="ref-for-propdef-letter-spacing③">letter-spacing</span>. </p>
   <p>A justification algorithm may divide <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity⑥">justification opportunities</a> into different priority levels.
    All <span id="ref-for-justification-opportunity⑦">justification opportunities</span> within a given level
    are expanded or compressed at the same priority,
    regardless of which <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit②③">typographic character units</a> created that opportunity.
    For example, if <span id="ref-for-justification-opportunity⑧">justification opportunities</span> between two Han characters
    and between two Latin letters are defined to be at the same level
    (as they are in the <a class="css" data-link-type="maybe" href="#valdef-text-justify-inter-character" id="ref-for-valdef-text-justify-inter-character">inter-character</a> justification style),
    they are not treated differently because they originate from different <span id="ref-for-typographic-character-unit②④">typographic character units</span>.
    It is not defined in this level
    whether or how other factors
    (such as font size, letter-spacing, glyph shape, position within the line, etc.)
    may influence the distribution of space to <span id="ref-for-justification-opportunity⑨">justification opportunities</span> within the line. </p>
   <p>The UA may enable or break optional ligatures or use other font features
  such as alternate glyphs or glyph compression
  to help justify the text under any method.
  This behavior is not controlled by this level of CSS.
  However, UAs <em>must not</em> break required ligatures
  or otherwise disable features required to correctly shape complex scripts. </p>
   <p>If a <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①⓪">justification opportunity</a> exists within a line,
     and <a href="#text-align-property">text alignment</a> specifies
     full justification (<a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify④">justify</a>) for that line,
     it must be justified. </p>
   <h4 class="heading settled" data-level="6.4.2" id="justify-symbols"><span class="secno">6.4.2. </span><span class="content"> Handling Symbols and Punctuation</span><a class="self-link" href="#justify-symbols"></a></h4>
   <p>When determining <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①①">justification opportunities</a>,
      a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit②⑤">typographic character unit</a> from the Unicode Symbols (S*) and Punctuation (P*) classes
      is generally treated the same as a <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit⑦">typographic letter unit</a> of the same script
      (or, if the character’s script property is Common,
      then as a <span id="ref-for-typographic-letter-unit⑧">typographic letter unit</span> of the dominant script). </p>
   <p>However, by typographic tradition there may be additional rules
      controlling the justification of symbols and punctuation.
      Therefore, the UA may reassign specific characters
      or introduce additional levels of prioritization
      to handle <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①②">justification opportunities</a> involving symbols and punctuation. </p>
   <p class="example" id="example-bedca997"><a class="self-link" href="#example-bedca997"></a> For example, there are traditionally no <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①③">justification opportunities</a> between consecutive
      U+2014 Em Dash ‘—’,
      U+2015 Horizontal Bar ‘―’,
      U+2026 Horizontal Ellipsis ‘…’,
      or U+2025 Two Dot Leader ‘‥’
      characters <a data-link-type="biblio" href="#biblio-jlreq">[JLREQ]</a>;
      thus a UA might assign these characters to a “never” prioritization level.
      As another example, certain fullwidth punctuation characters
      (such as U+301A Left White Square Bracket ‘〚’)
      are considered to contain a <span id="ref-for-justification-opportunity①④">justification opportunity</span> in Japanese.
      The UA might therefore assign these characters to a higher prioritization
      level than the opportunities between ideographic characters. </p>
   <h4 class="heading settled" data-level="6.4.3" id="justify-limits"><span class="secno">6.4.3. </span><span class="content"> Unexpandable Text</span><a class="self-link" href="#justify-limits"></a></h4>
   <p>If the inline contents of a line cannot be stretched to the full width of the line box,
      then they must be aligned as specified by the <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last⑦">text-align-last</a> property.
      (If <span class="property" id="ref-for-propdef-text-align-last⑧">text-align-last</span> is <a class="css" data-link-type="maybe" href="#valdef-text-align-justify" id="ref-for-valdef-text-align-justify⑤">justify</a>, then
      they must be aligned as for <a class="css" data-link-type="maybe" href="#valdef-text-align-center" id="ref-for-valdef-text-align-center">center</a>.) </p>
   <h4 class="heading settled" data-level="6.4.4" id="justify-cursive"><span class="secno">6.4.4. </span><span class="content"> Cursive Scripts</span><a class="self-link" href="#justify-cursive"></a></h4>
   <p>Justification <em>must not</em> introduce gaps between the joined <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit⑨">typographic letter units</a> of <a data-link-type="dfn" href="#cursive-script" id="ref-for-cursive-script">cursive scripts</a> such as Arabic.
      If it is able, the UA <em>may</em> translate space distributed to <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①⑤">justification opportunities</a> within a run of such <span id="ref-for-typographic-letter-unit①⓪">typographic letter units</span> into some form of cursive elongation for that run.
      It otherwise <em>must</em> assume that no <span id="ref-for-justification-opportunity①⑥">justification opportunity</span> exists
      between any pair of <span id="ref-for-typographic-letter-unit①①">typographic letter units</span> in <span id="ref-for-cursive-script①">cursive script</span> (regardless of whether they join). </p>
   <div class="example" id="example-5407996d">
    <a class="self-link" href="#example-5407996d"></a> 
    <p>The following are examples of unacceptable justification: </p>
    <div class="figure">
     <p><img alt src="images/arabic-stretch-spaced.png"> </p>
     <p class="caption">Adding gaps between every pair of Arabic letters </p>
    </div>
    <div class="figure">
     <p><img alt src="images/arabic-stretch-unjoined.png"> </p>
     <p class="caption">Adding gaps between every pair of unjoined Arabic letters </p>
    </div>
   </div>
   <p>Some font designs allow for the use of the tatweel character for justification.
    A UA that performs tatweel-based justification must properly handle the rules for its use.
    Note that correct insertion of tatweel characters depends on context, including
    the letter-combinations involved, location within the word, and location of the word within the line. </p>
   <h4 class="heading settled" data-level="6.4.5" id="justify-algos"><span class="secno">6.4.5. </span><span class="content"> Minimum Requirements for <a class="css" data-link-type="maybe" href="#valdef-text-justify-auto" id="ref-for-valdef-text-justify-auto">auto</a> Justification</span><a class="self-link" href="#justify-algos"></a></h4>
   <p>For <a class="css" data-link-type="value" href="#valdef-text-justify-auto" id="ref-for-valdef-text-justify-auto①">auto</a> justification, this specification does not define
  what all of the <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①⑦">justification opportunities</a> are,
  how they are prioritized, or
  when and how multiple levels of <span id="ref-for-justification-opportunity①⑧">justification opportunities</span> interact.
  However, it does require that </p>
   <ul>
    <li>
      Unless contraindicated by the typographic traditions of the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①③">content language</a> or adjacent symbols/punctuation,
      each of the following provides a <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity①⑨">justification opportunity</a>: 
     <ul>
      <li><a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator⑧">Word separators</a> 
      <li>The boundary between a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit②⑥">typographic character unit</a> of any <a data-link-type="dfn" href="#block-scripts" id="ref-for-block-scripts">block scripts</a> and any other <span id="ref-for-typographic-character-unit②⑦">typographic character unit</span> 
      <li>The boundary between a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit②⑧">typographic character unit</a> of any <a data-link-type="dfn" href="#clustered-scripts" id="ref-for-clustered-scripts">clustered scripts</a> and any other <span id="ref-for-typographic-character-unit②⑨">typographic character unit</span> 
     </ul>
    <li> All <a data-link-type="dfn" href="#letter" id="ref-for-letter③">letters</a> belonging to all <a data-link-type="dfn" href="#block-scripts" id="ref-for-block-scripts①">block scripts</a> are treated the same,
      and all <span id="ref-for-letter④">letters</span> belonging to all <a data-link-type="dfn" href="#clustered-scripts" id="ref-for-clustered-scripts①">clustered scripts</a> are treated the same.
      For example, no distiction is made between
      the justification opportunity between a Han letter followed by another Han letter,
      vs. the justification opportunity between a Han letter followed by a Hangul letter. 
   </ul>
   <p>Further information on text justification can be found in (or submitted to) <a href="https://www.w3.org/International/articles/typography/justification">“Approaches to Full Justification”</a>,
  which indexes by writing system and language,
  and is maintained by the <a href="https://www.w3.org/International/">W3C Internationalization Working Group</a>. <a data-link-type="biblio" href="#biblio-justify">[JUSTIFY]</a></p>
   <h2 class="heading settled" data-level="7" id="spacing"><span class="secno">7. </span><span class="content"> Spacing</span><a class="self-link" href="#spacing"></a></h2>
   <p>CSS offers control over text spacing
  via the <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑤">word-spacing</a> and <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing④">letter-spacing</a> properties, which specify additional space
  around <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator⑨">word separators</a> or between <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③⓪">typographic character units</a>, respectively. </p>
   <h3 class="heading settled" data-level="7.1" id="word-spacing-property"><span class="secno">7.1. </span><span class="content"> Word Spacing: the <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑥">word-spacing</a> property</span><span id="word-spacing"></span><a class="self-link" href="#word-spacing-property"></a></h3>
   <table class="def propdef" data-link-for-hint="word-spacing">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-word-spacing">word-spacing</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">normal <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one④③">|</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value" id="ref-for-length-value①" title="Expands to: em | vb | ch | cm | vh | vi | in | ex | vw | ic | pt | px | lh | pc | rem | rlh | vmax | advance measure | vmin | mm | cap | q">&lt;length></a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>normal 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box⑧">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>N/A 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>an absolute length 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>by computed value type 
   </table>
   <p>This property specifies additional spacing
      between “words”.
      Missing values are assumed to be <span class="css">word-spacing:normal</span>.
      Values are interpreted as defined below: </p>
   <dl>
    <dt><dfn class="css" data-dfn-for="word-spacing" data-dfn-type="value" data-export id="valdef-word-spacing-normal">normal<a class="self-link" href="#valdef-word-spacing-normal"></a></dfn> 
    <dd>No additional spacing is applied.
        Computes to zero. 
    <dt><dfn class="css" data-dfn-for="word-spacing" data-dfn-type="value" data-export id="valdef-word-spacing-length">&lt;length><a class="self-link" href="#valdef-word-spacing-length"></a></dfn> 
    <dd>Specifies extra spacing <em>in addition to</em> the intrinsic inter-word spacing defined by the font. 
   </dl>
   <p>Additional spacing is applied to each <a data-link-type="dfn" href="#word-separator" id="ref-for-word-separator①⓪">word separator</a> left in the text after the <a href="#white-space-rules">white space processing rules</a> have been applied,
    and should be applied half on each side of the character
    unless otherwise dictated by typographic tradition.
    Values may be negative, but there may be implementation-dependent limits. </p>
   <p><dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="word-separator character | word separator" data-noexport id="word-separator">Word-separator characters</dfn> are <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③①">typographic character units</a> whose purpose and general usage is to separate words.
      In <a data-link-type="biblio" href="#biblio-unicode">[UNICODE]</a> this includes
      the space (U+0020), the no-break space (U+00A0), the Ethiopic word space (U+1361),
      the Aegean word separators (U+10100,U+10101), the Ugaritic word divider (U+1039F),
      and the Phoenician Word Separator (U+1091F). </p>
   <p>If there are no word-separator characters, or if a word-separating
      character has a zero advance width (such as the zero width space U+200B)
      then the user agent must not create an additional spacing between words.</p>
   <p>General punctuation (from U+2000 to U+206F)
      and fixed-width spaces (such as U+3000 and U+2000 through U+200A)
      are not considered word-separator characters.</p>
   <p></p>
   <h3 class="heading settled caniuse-paneled" data-level="7.2" id="letter-spacing-property"><span class="secno">7.2. </span><span class="content"> Tracking: the <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑤">letter-spacing</a> property</span><span id="letter-spacing"></span><a class="self-link" href="#letter-spacing-property"></a></h3>
   <table class="def propdef" data-link-for-hint="letter-spacing">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-letter-spacing">letter-spacing</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">normal <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one④④">|</a> <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#length-value" id="ref-for-length-value②" title="Expands to: em | vb | ch | cm | vh | vi | in | ex | vw | ic | pt | px | lh | pc | rem | rlh | vmax | advance measure | vmin | mm | cap | q">&lt;length></a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>normal 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box⑨">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>an absolute length 
     <tr>
      <th>Canonical order:
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>by computed value type 
   </table>
   <p>This property specifies additional spacing (commonly called <dfn data-dfn-type="dfn" data-export id="tracking">tracking<a class="self-link" href="#tracking"></a></dfn>)
  between adjacent <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③②">typographic character units</a>.
  Letter-spacing is applied after <a href="https://www.w3.org/TR/css-writing-modes/#text-direction">bidi reordering</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> and is in addition to <a href="https://www.w3.org/TR/css-fonts/#font-kerning-prop">kerning</a> <a data-link-type="biblio" href="#biblio-css-fonts-3">[CSS-FONTS-3]</a> and <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑦">word-spacing</a>.
  Depending on the justification rules in effect,
  user agents may further increase or decrease the space between <span id="ref-for-typographic-character-unit③③">typographic character units</span> in order to <a href="#text-justify-property">justify text</a>. </p>
   <p>Values have the following meanings: </p>
   <dl>
    <dt><dfn class="dfn-paneled css" data-dfn-for="letter-spacing" data-dfn-type="value" data-export id="valdef-letter-spacing-normal">normal</dfn> 
    <dd>No additional spacing is applied. Computes to zero. 
    <dt><dfn class="css" data-dfn-for="letter-spacing" data-dfn-type="value" data-export id="valdef-letter-spacing-length">&lt;length><a class="self-link" href="#valdef-letter-spacing-length"></a></dfn> 
    <dd>Specifies <em>additional</em> spacing between <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③④">typographic character units</a>.
        Values may be negative, but there may be implementation-dependent limits. 
   </dl>
   <p>For <a href="https://github.com/w3c/csswg-drafts/issues/1484">legacy reasons</a>,
  a computed <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑥">letter-spacing</a> of zero
  yields a <a data-link-type="dfn" href="https://drafts.csswg.org/cssom-1/#resolved-value" id="ref-for-resolved-value">resolved value</a> (<code>getComputedStyle()</code> return value)
  of <a class="css" data-link-type="maybe" href="#valdef-letter-spacing-normal" id="ref-for-valdef-letter-spacing-normal">normal</a>. </p>
   <p>For the purpose of <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑦">letter-spacing</a>, each consecutive run of atomic
      inlines (such as images and inline blocks) is treated as a single <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③⑤">typographic character unit</a>. </p>
   <p>Letter-spacing must not be applied at the beginning or at the end of a line. </p>
   <div class="example" id="example-ed26bd65">
    <a class="self-link" href="#example-ed26bd65"></a> 
    <p>Because letter-spacing is not applied at the beginning or end of a line,
    text always fits flush with the edge of the block. </p>
<pre>p    { letter-spacing: 1em; }

&lt;p>abc&lt;/p></pre>
    <p class="ls-ex good ls-fixed-width color-box" style="text-align: left">a　b　c</p>
    <p class="ls-ex good ls-fixed-width color-box" style="text-align: right">a　b　c</p>
    <p>UAs therefore must not append letter spacing to the right or trailing edge of a line:</p>
    <p class="ls-ex bad ls-fixed-width color-box" style="text-align: right">a　b　c　</p>
   </div>
   <p>Letter spacing between two <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit③⑥">typographic character units</a> effectively “belongs”
      to the innermost element that contains the two <span id="ref-for-typographic-character-unit③⑦">typographic character units</span>:
      the total letter spacing between two adjacent <span id="ref-for-typographic-character-unit③⑧">typographic character units</span> (after bidi reordering)
      is specified by and rendered within
      the innermost element that <em>contains</em> the boundary between the two <span id="ref-for-typographic-character-unit③⑨">typographic character units</span>. </p>
   <div class="example" id="example-5ec1f759">
    <a class="self-link" href="#example-5ec1f759"></a> 
    <p>A given value of <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑧">letter-spacing</a> only affects the spacing
    between characters completely contained within the element for which it is specified: </p>
<pre>p    { letter-spacing: 1em; }
span { letter-spacing: 2em; }

&lt;p>a&lt;span>bb&lt;/span>c&lt;/p></pre>
    <p class="ls-ex">a　<span class="color-box">b　　b</span>　c</p>
    <p>This also means that applying <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing⑨">letter-spacing</a> to
    an element containing only a single character
    has no effect on the rendered result: </p>
<pre>p    { letter-spacing: 1em; }
span { letter-spacing: 2em; }

&lt;p>a&lt;span>b&lt;/span>c&lt;/p></pre>
    <p class="ls-ex">a　<span class="color-box">b</span>　c</p>
    <p>An inline box only includes
    letter spacing between characters completely contained within that element: </p>
<pre>p    { letter-spacing: 1em; }

&lt;p>a&lt;span>bb&lt;/span>c&lt;/p></pre>
    <p class="ls-ex good">a　<span class="color-box">b　b</span>　c</p>
    <p>It is incorrect to include the letter spacing on the right or trailing edge of the element: </p>
    <p class="ls-ex bad">a　<span class="color-box">b　b　</span>c</p>
    <p>Letter spacing is inserted <strong>after</strong> RTL reordering,
    so the letter spacing applied to the inner span below has no effect,
    since after reordering the "c" doesn’t end up next to "א": </p>
<pre>p    { letter-spacing: 1em; }
span { letter-spacing: 2em; }

&lt;!-- abc followed by Hebrew letters alef (א), bet (ב) and gimel (ג) -->
&lt;!-- Reordering will display these in reverse order. -->
<bdo dir="ltr">&lt;p>ab&lt;span>cא&lt;/span>בג&lt;/p></bdo></pre>
    <p class="ls-ex">a　b　<span class="color-box">c</span>　<span class="color-box">א</span>　ב　ג</p>
   </div>
   <p>Letter spacing ignores invisible zero-width formatting characters
      (such as those from the Unicode Cf category).
      Spacing must be added as if those characters did not exist in the document. </p>
   <p class="example" id="example-35549407"><a class="self-link" href="#example-35549407"></a>For example, <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⓪">letter-spacing</a> applied to <code>A&amp;#x200B;B</code> is identical to <code>AB</code>,
      regardless of where any element boundaries might fall. </p>
   <p>When the effective spacing between two characters is not zero
      (due to either <a href="#text-justify-property">justification</a> or a non-zero value of <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①①">letter-spacing</a>),
      user agents should not apply optional ligatures,
      i.e. those that are not defined as required
      for fundamentally correct glyph shaping.
      However, ligatures and other font features
      specified via the low-level <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-fonts-4/#propdef-font-feature-settings" id="ref-for-propdef-font-feature-settings">font-feature-settings</a> property
      take precedence over this rule.
      See <a href="https://www.w3.org/TR/css-fonts-3/#feature-precedence">CSS Fonts 3 §7.2 Feature precedence</a>. </p>
   <div class="example" id="example-d2a0b994">
    <a class="self-link" href="#example-d2a0b994"></a> For example, if the word “filial” is letter-spaced,
      an “fi” ligature should not be used
      as it will prevent even spacing of the text. 
    <figure>
     <p><strong style="letter-spacing: 0.5em">filial</strong> vs <strong style="letter-spacing: 0.5em">ﬁlial</strong> </p>
    </figure>
   </div>
   <p class="note" role="note"><span>Note:</span> In OpenType, required ligatures are expected
    to be associated to the <code>rlig</code> feature.
    All other ligatures are therefore considered optional.
    In some cases, however, UA or platform heuristics
    apply additional ligatures in order to handle broken fonts;
    this specification does not define or override such exceptional handling.</p>
   <h4 class="heading settled" data-level="7.2.1" id="cursive-tracking"><span class="secno">7.2.1. </span><span class="content"> Cursive Scripts</span><a class="self-link" href="#cursive-tracking"></a></h4>
   <p>If it is able, the UA <em>may</em> apply letter spacing to <a data-link-type="dfn" href="#cursive-script" id="ref-for-cursive-script②">cursive scripts</a> by translating the total extra space to be distributed to a run of such letters
    into some form of cursive elongation (or compression, for negative tracking values) for that run
    that results in an equivalent total expansion (or compression) of the run.
    Otherwise, if the UA cannot expand text from a <span id="ref-for-cursive-script③">cursive script</span> without breaking its cursive connections,
    it <em>must not</em> apply spacing
    between any pair of that script’s <a data-link-type="dfn" href="#typographic-letter-unit" id="ref-for-typographic-letter-unit①②">typographic letter units</a> at all
    (effectively treating each word as a single <span id="ref-for-typographic-letter-unit①③">typographic letter unit</span> for the purpose of letter-spacing).
    Both cases will result in an effective spacing of zero between such letters;
    however the former will preserve the sense of stretching out the text. </p>
   <div class="example" id="example-9902d8b5">
    <a class="self-link" href="#example-9902d8b5"></a> 
    <p>Below are some appropriate and inappropriate examples of spacing out Arabic text. </p>
    <table class="data">
     <thead>
      <tr>
       <td><img alt src="images/arabic-stretch-original.png"> 
       <td>— 
       <td>Original text 
     <tbody>
      <tr>
       <td><img alt src="images/arabic-stretch-spaced.png"> 
       <td class="no">BAD 
       <th>Even distribution of space between each letter. <em>Notice this breaks cursive joins!</em> 
      <tr>
       <td><img alt src="images/arabic-stretch-kashida.png"> 
       <td class="ok">OK 
       <th>Distributing ∑<var>letter-spacing</var> by typographically-appropriate cursive elongation. <em>The resulting text is as long as the previous evenly-spaced example.</em> 
      <tr>
       <td><img alt src="images/arabic-stretch-suppressed.png"> 
       <td class="ok">OK 
       <th>Suppressing <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①②">letter-spacing</a> between Arabic letters. <em>Notice <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①③">letter-spacing</a> is nonetheless applied to non-Arabic characters (like <a data-link-type="dfn" href="#spaces" id="ref-for-spaces③②">spaces</a>).</em> 
      <tr>
       <td><img alt src="images/arabic-stretch-unjoined.png"> 
       <td class="no">BAD 
       <th>Applying <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①④">letter-spacing</a> only between non-joined letters. <em>This distorts typographic color and obfuscates word boundaries.</em> 
    </table>
   </div>
   <div class="note" role="note"> Note: Proper cursive elongation or compression of a text
      can vary depending on the
      script, typeface, language,
      location within a word, location within a line,
      implementation complexity, font capabilities,
      and calligraphic preferences,
      and may not be possible in certain cases at all.
      It may involve the use of shortening ligatures,
      swash variants, contextual forms,
      elongation glyphs such as U+0640 ARABIC TATWEEL,
      or other microtypography.
      It is outside the scope of CSS to define rules for these effects.
      Authors should avoid applying <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⑤">letter-spacing</a> to cursive scripts
      unless they are prepared to accept non-interoperable results. </div>
   <h3 class="heading settled" data-level="7.3" id="boundary-shaping"><span class="secno">7.3. </span><span class="content"> Shaping Across Element Boundaries</span><a class="self-link" href="#boundary-shaping"></a></h3>
   <p>Text shaping <em>must</em> be broken at inline box boundaries
  when any of the following are true
  for any box whose boundary separates the two <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit④⓪">typographic character units</a>:</p>
   <ul>
    <li data-md>
     <p>Any of <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-box-3/#propdef-margin" id="ref-for-propdef-margin">margin</a>/<a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-border" id="ref-for-propdef-border">border</a>/<a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-box-3/#propdef-padding" id="ref-for-propdef-padding">padding</a> separating the two <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit④①">typographic character units</a> in the inline axis
is non-zero.</p>
    <li data-md>
     <p><a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-inline-3/#propdef-vertical-align" id="ref-for-propdef-vertical-align">vertical-align</a> is not <span class="css">baseline</span>.</p>
    <li data-md>
     <p>The boundary is a <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#bidi-isolate" id="ref-for-bidi-isolate">bidi isolation boundary</a>.</p>
   </ul>
   <p>Text shaping <em>must not</em> be broken across inline box boundaries
  when there is no effective change in formatting,
  or if the only formatting changes do not affect the glyphs
  (as in applying <a href="https://www.w3.org/TR/css-text-decoration/">text decoration</a>).</p>
   <p>Text shaping <em>should not</em> be broken across inline box boundaries otherwise,
  if it is reasonable and possible for that case given the limitations of the font technology.</p>
   <div class="example" id="example-a9ebdb42">
    <a class="self-link" href="#example-a9ebdb42"></a> An example of reasonable and possible shaping across boundaries
    is Arabic shaping:
    in many systems this is performed by the font engine,
    allowing the font to provide variant glyphs
    with potentially very sophisticated contextual shaping.
    It’s not generally possible to rely on this system across a font change
    unless the font engine has an API to provide context,
    but it is straightforward and therefore quite reasonable
    for an engine to work around this limitation by, for example,
    using the zero-width-joiner (U+200D) or zero-width-non-joiner (U+200C)
    as appropriate to solicit the correct choice of
    initial/medial/final/isolated glyph. 
    <p>An example of possible but not reasonable shaping across boundaries
    is handling a font that is sensitive to 20 characters of context
    on either side to choose its glyphs:
    passing all the text before <em>and after</em> the string in question,
    even through multiple inline boundaries with formatting changes,
    is complicated.
    The UA <em>could</em> handle such cases,
    but is not required to,
    as they are not typical or fundamentally required
    by any modern writing system.</p>
    <p>An example of impossible shaping accross boundaries
    is a change in font weight partway through the word “and”
    in a font where a ligature would replace
    all three letters of the word “and”
    with an ampersand glyph (“&amp;”).</p>
   </div>
   <h2 class="heading settled" data-level="8" id="edge-effects"><span class="secno">8. </span><span class="content"> Edge Effects</span><a class="self-link" href="#edge-effects"></a></h2>
   <p>Edge effects control
    the indentation of lines with respect to other lines in the block (<a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent">text-indent</a>)
    and how content is measured at the start and end edges of a line (<a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation①">hanging-punctuation</a>). </p>
   <h3 class="heading settled caniuse-paneled" data-level="8.1" id="text-indent-property"><span class="secno">8.1. </span><span class="content"> First Line Indentation: the <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent①">text-indent</a> property</span><span id="text-indent"></span><a class="self-link" href="#text-indent-property"></a></h3>
   <table class="def propdef" data-link-for-hint="text-indent">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-text-indent">text-indent</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">[ <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-4/#typedef-length-percentage" id="ref-for-typedef-length-percentage">&lt;length-percentage></a> ] <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-all" id="ref-for-comb-all">&amp;&amp;</a> hanging<a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#mult-opt" id="ref-for-mult-opt">?</a> <span id="ref-for-comb-all①">&amp;&amp;</span> each-line<span id="ref-for-mult-opt①">?</span> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>0 
     <tr>
      <th>Applies to:
      <td>block containers 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>refers to block container’s own <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#inline-axis" id="ref-for-inline-axis">inline-axis</a> <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#inner-size" id="ref-for-inner-size">inner size</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>computed <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-4/#typedef-length-percentage" id="ref-for-typedef-length-percentage①">&lt;length-percentage></a> value, plus any specified keywords 
     <tr>
      <th>Canonical order:
      <td><abbr title="follows order of property value definition">per grammar</abbr> 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>by computed value type 
   </table>
   <p>This property specifies the indentation applied to lines of inline
      content in a block. The indent is treated as a margin applied to
      the start edge of the line box. </p>
   <p>Unless otherwise specified by the <a class="css" data-link-type="maybe" href="#valdef-text-indent-each-line" id="ref-for-valdef-text-indent-each-line">each-line</a> and/or <a class="css" data-link-type="value" href="#valdef-text-indent-hanging" id="ref-for-valdef-text-indent-hanging">hanging</a> keywords,
      only lines that are the <a href="https://www.w3.org/TR/CSS2/selector.html#first-line-pseudo">first formatted line</a> <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> of an element are affected.
      For example, the first line of an anonymous block box is only affected
      if it is the first child of its parent element. </p>
   <p>Values have the following meanings:</p>
   <dl>
    <dt><dfn class="css" data-dfn-for="text-indent" data-dfn-type="value" data-export id="valdef-text-indent-length">&lt;length><a class="self-link" href="#valdef-text-indent-length"></a></dfn> 
    <dd>Gives the amount of the indent as an absolute length.
    <dt><dfn class="css" data-dfn-for="text-indent" data-dfn-type="value" data-export id="valdef-text-indent-percentage">&lt;percentage><a class="self-link" href="#valdef-text-indent-percentage"></a></dfn> 
    <dd>
     Gives the amount of the indent as a percentage of
        the block container’s own <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#logical-width" id="ref-for-logical-width">logical width</a> 
     <p>Percentages must be treated as <span class="css">0</span> for the purpose of calculating <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-size-contribution" id="ref-for-intrinsic-size-contribution">intrinsic size contributions</a>,
        but are always resolved normally when performing layout.</p>
     <p class="note" role="note"><span>Note:</span> This can lead to the element overflowing.
        It is not recommended to use percentage indents and intrinsic sizing toghether.</p>
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-indent" data-dfn-type="value" data-export id="valdef-text-indent-each-line">each-line</dfn> 
    <dd>Indentation affects the first line of each block container
        and each line after a <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break⑥">forced line break</a> (but not lines after a <a data-link-type="dfn" href="#soft-wrap-break" id="ref-for-soft-wrap-break">soft wrap break</a>). 
    <dt><dfn class="dfn-paneled css" data-dfn-for="text-indent" data-dfn-type="value" data-export id="valdef-text-indent-hanging">hanging</dfn> 
    <dd>Inverts which lines are affected.
   </dl>
   <div class="example" id="example-09120ae6">
    <a class="self-link" href="#example-09120ae6"></a> 
    <p>If <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align⑦">text-align</a> is <a class="css" data-link-type="maybe" href="#valdef-text-align-start" id="ref-for-valdef-text-align-start②">start</a> and <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent②">text-indent</a> is <span class="css">5em</span> in
      left-to-right text with no floats present, then first line of text
      will start 5em into the block:</p>
<pre class="output">     Since CSS1 it has been possible to
indent the first line of a block element
5em by setting the 'text-indent' property 
to '5em'.
</pre>
    <p>If we add the <a class="css" data-link-type="maybe" href="#valdef-text-indent-hanging" id="ref-for-valdef-text-indent-hanging①">hanging</a> keyword,
      then the first line will start flush,
      but other lines will be indented 5em: </p>
<pre class="output">In CSS3 we can instead indent all other
     lines of the block element by 5em
     by setting the 'text-indent' property
     to 'hanging 5em'.
</pre>
   </div>
   <div class="example" id="example-2024db3d">
    <a class="self-link" href="#example-2024db3d"></a> 
    <p>Since the <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent③">text-indent</a> property only affects the “first formatted line”,
      a line after a forced break will not be indented. </p>
<pre class="output">   For example, in the middle of
this paragraph is an equation,
which is centered:
             x + y = z
The first line after the equation
is flush (else it would look like
we started a new paragraph).
</pre>
    <p>However, sometimes (as in poetry or code),
      it is appropriate to indent each line
      that happens to be long enough to wrap.
      In the following example, <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent④">text-indent</a> is given a value of <span class="css">3em hanging each-line</span>,
      giving the third line of the poem a hanging indent
      where it soft-wraps at the block’s right boundary: </p>
<pre class="output">In a short line of text
There need be no wrapping,
But when we go on and on and on  
   and on,
Sometimes a soft break
Can help us stay on the page.
</pre>
   </div>
   <p class="note" role="note">Note: Since the <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent⑤">text-indent</a> property inherits,
      when specified on a block element, it will affect descendant
      inline-block elements.
      For this reason, it is often wise to specify 'text-indent: 0' on
      elements that are specified 'display: inline-block'.</p>
   <h3 class="heading settled" data-level="8.2" id="hanging"><span class="secno">8.2. </span><span class="content"> Hanging Glyphs</span><a class="self-link" href="#hanging"></a></h3>
   <p>When a glyph at the start or end edge of a line <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="hang" data-noexport id="hang">hangs</dfn>,
      it is not considered
      when measuring the line’s contents for fit, alignment, or justification.
      Depending on the line’s alignment/justification, this can
      result in the mark being placed outside the line box.
      The <a data-link-type="dfn" href="#hang" id="ref-for-hang①①">hanging</a> glyph is also not taken into account
      when computing intrinsic sizes (min-content size and max-content size),
      and any sizes derived thereof.
      (The interaction of this measurement and kerning is currently UA-defined;
      the CSSWG <a href="https://github.com/w3c/csswg-drafts/issues/2397">welcomes advice</a> on this point.) </p>
   <p>A <a data-link-type="dfn" href="#hang" id="ref-for-hang①②">hanging</a> glyph
      is still enclosed inside its parent inline box,
      is still counted as part of the <a data-link-type="dfn" href="https://drafts.csswg.org/css-overflow-3/#scrollable-overflow-region" id="ref-for-scrollable-overflow-region">scrollable overflow region</a> <a data-link-type="biblio" href="#biblio-css-overflow-3">[CSS-OVERFLOW-3]</a>,
      and still participates in text justification:
      its character advance is just not measured when determining
      how much content fits on the line,
      how much the line’s contents need to be expanded or compressed for justification,
      or how to position the content within the line box for text alignment.
      Effectively, the <span id="ref-for-hang①③">hanging</span> glyph character advance
      is re-interpreted as an additional negative margin
      on the affected edge of its parent <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box①⓪">inline box</a>;
      the line is otherwise laid out as usual. </p>
   <p>In some cases, a glyph at the end of a line
      can <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="conditionally-hang">conditionally hang</dfn>:
      it <a data-link-type="dfn" href="#hang" id="ref-for-hang①④">hangs</a> only if it does not otherwise fit in the line prior to justification.
      It is not considered when measuring the line’s contents for fit;
      however, any part of it that does not fit
      is considered to <span id="ref-for-hang①⑤">hang</span>.
      Glyphs that <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang⑥">conditionally hang</a> are not taken into account
      when computing <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content④">min-content sizes</a> and any sizes derived thereof,
      but they are taken into account for <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#max-content" id="ref-for-max-content①">max-content sizes</a> and any sizes derived thereof. </p>
   <p>Non-zero inline-axis borders or padding between
      a <a data-link-type="dfn" href="#hang" id="ref-for-hang①⑥">hang</a>able glyph and the edge of the line prevent the glyph from hanging.
      For example, a period at the end of an inline box with end padding
      does not <span id="ref-for-hang①⑦">hang</span> at the end edge of a line. </p>
   <p>Multiple adjacent glyphs can hang together,
      however there may be limits on how many are allowed to hang
      (e.g. at most one punctuation character may <a data-link-type="dfn" href="#hang" id="ref-for-hang①⑧">hang</a> at each edge of the line). </p>
   <h4 class="heading settled caniuse-paneled" data-level="8.2.1" id="hanging-punctuation-property"><span class="secno">8.2.1. </span><span class="content"> Hanging Punctuation: the <a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation②">hanging-punctuation</a> property</span><span id="hanging-punctuation"></span><a class="self-link" href="#hanging-punctuation-property"></a></h4>
   <table class="def propdef" data-link-for-hint="hanging-punctuation">
    <tbody>
     <tr>
      <th>Name:
      <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-hanging-punctuation">hanging-punctuation</dfn>
     <tr class="value">
      <th><a href="https://drafts.csswg.org/css-values/#value-defs">Value:</a>
      <td class="prod">none <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-one" id="ref-for-comb-one④⑤">|</a> [ first <a data-link-type="grammar" href="https://drafts.csswg.org/css-values-4/#comb-any" id="ref-for-comb-any②">||</a> [ force-end <span id="ref-for-comb-one④⑥">|</span> allow-end ] <span id="ref-for-comb-any③">||</span> last ] 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#initial-values">Initial:</a>
      <td>none 
     <tr>
      <th>Applies to:
      <td><a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#inline-box" id="ref-for-inline-box①①">inline boxes</a> 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#inherited-property">Inherited:</a>
      <td>yes 
     <tr>
      <th><a href="https://drafts.csswg.org/css-values/#percentages">Percentages:</a>
      <td>n/a 
     <tr>
      <th><a href="https://drafts.csswg.org/css-cascade/#computed">Computed value:</a>
      <td>specified keyword(s) 
     <tr>
      <th>Canonical order:
      <td><abbr title="follows order of property value definition">per grammar</abbr> 
     <tr>
      <th><a href="https://drafts.csswg.org/web-animations/#animation-type">Animation type:</a>
      <td>discrete 
   </table>
   <p>This property determines whether a punctuation mark, if one is present, <a data-link-type="dfn" href="#hang" id="ref-for-hang①⑨">hangs</a> and may be placed outside the line box (or in the indent)
      at the start or at the end of a line of text. </p>
   <p class="note" role="note">Note: If there is not sufficient padding on the
      block container, <a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation③">hanging-punctuation</a> can trigger overflow.</p>
   <p>Values have the following meanings:</p>
   <dl>
    <dt><dfn class="css" data-dfn-for="hanging-punctuation" data-dfn-type="value" data-export id="valdef-hanging-punctuation-none">none<a class="self-link" href="#valdef-hanging-punctuation-none"></a></dfn>
    <dd>No punctuation character is made to <a data-link-type="dfn" href="#hang" id="ref-for-hang②⓪">hang</a>.
    <dt><dfn class="css" data-dfn-for="hanging-punctuation" data-dfn-type="value" data-export id="valdef-hanging-punctuation-first">first<a class="self-link" href="#valdef-hanging-punctuation-first"></a></dfn>
    <dd>An opening bracket or quote at the start of the <a href="https://www.w3.org/TR/CSS2/selector.html#first-line-pseudo">first
          formatted line</a> of an element <a data-link-type="dfn" href="#hang" id="ref-for-hang②①">hangs</a>.
          This applies to all characters in the Unicode categories Ps, Pf, Pi
          plus the ASCII quote marks “'” U+0027 and “"” U+0022. 
    <dt><dfn class="css" data-dfn-for="hanging-punctuation" data-dfn-type="value" data-export id="valdef-hanging-punctuation-last">last<a class="self-link" href="#valdef-hanging-punctuation-last"></a></dfn>
    <dd>A closing bracket or quote at the end of the
          last formatted line of an element <a data-link-type="dfn" href="#hang" id="ref-for-hang②②">hangs</a>.
          This applies to all characters in the Unicode categories Pe, Pf, Pi
          plus the ASCII quote marks “'” U+0027 and “"” U+0022. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="hanging-punctuation" data-dfn-type="value" data-export id="valdef-hanging-punctuation-force-end">force-end</dfn>
    <dd>A <a data-link-type="dfn" href="#stop-or-comma" id="ref-for-stop-or-comma">stop or comma</a> at the end of a line <a data-link-type="dfn" href="#hang" id="ref-for-hang②③">hangs</a>. 
    <dt><dfn class="dfn-paneled css" data-dfn-for="hanging-punctuation" data-dfn-type="value" data-export id="valdef-hanging-punctuation-allow-end">allow-end</dfn>
    <dd>A <a data-link-type="dfn" href="#stop-or-comma" id="ref-for-stop-or-comma①">stop or comma</a> at the end of a line <a data-link-type="dfn" href="#conditionally-hang" id="ref-for-conditionally-hang⑦">conditionally hangs</a>. 
   </dl>
   <p>At most one punctuation character may <a data-link-type="dfn" href="#hang" id="ref-for-hang②④">hang</a> at each edge of the line. </p>
   <p><dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="stop or comma" data-noexport id="stop-or-comma">Stops and commas</dfn> allowed to <a data-link-type="dfn" href="#hang" id="ref-for-hang②⑤">hang</a> include: </p>
   <table class="data">
    <tbody>
     <tr>
      <td>U+002C 
      <td>, 
      <td>COMMA 
     <tr>
      <td>U+002E 
      <td>. 
      <td>FULL STOP 
     <tr>
      <td>U+060C 
      <td>، 
      <td>ARABIC COMMA 
     <tr>
      <td>U+06D4 
      <td>۔ 
      <td>ARABIC FULL STOP 
     <tr>
      <td>U+3001 
      <td>、 
      <td>IDEOGRAPHIC COMMA 
     <tr>
      <td>U+3002 
      <td>。 
      <td>IDEOGRAPHIC FULL STOP 
     <tr>
      <td>U+FF0C 
      <td>， 
      <td>FULLWIDTH COMMA 
     <tr>
      <td>U+FF0E 
      <td>． 
      <td>FULLWIDTH FULL STOP 
     <tr>
      <td>U+FE50 
      <td>﹐ 
      <td>SMALL COMMA 
     <tr>
      <td>U+FE51 
      <td>﹑ 
      <td>SMALL IDEOGRAPHIC COMMA 
     <tr>
      <td>U+FE52 
      <td>﹒ 
      <td>SMALL FULL STOP 
     <tr>
      <td>U+FF61 
      <td>｡ 
      <td>HALFWIDTH IDEOGRAPHIC FULL STOP 
     <tr>
      <td>U+FF64 
      <td>､ 
      <td>HALFWIDTH IDEOGRAPHIC COMMA 
   </table>
   <p>The UA may include other characters as appropriate. </p>
   <p class="note" role="note">Note: The CSS Working Group would appreciate if UAs including
      other characters would <a href="#status">inform the working group</a> of such additions.</p>
   <div class="example" id="example-68d23fbc">
    <a class="self-link" href="#example-68d23fbc"></a> 
    <p>The <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-allow-end" id="ref-for-valdef-hanging-punctuation-allow-end">allow-end</a> and <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-force-end" id="ref-for-valdef-hanging-punctuation-force-end">force-end</a> are two variations of
        hanging punctuation used in East Asia.</p>
    <div>
     <div class="sidefigure"> <img alt="hanging-punctuation: allow-end" height="51" src="images/hanging-punctuation-allow-end.png" width="202"> </div>
<pre class="css">p {
  text-align: justify;
  hanging-punctuation: allow-end;
}</pre>
     <div class="sidefigure"> <img alt="hanging-punctuation: force-end" height="51" src="images/hanging-punctuation-force-end.png" width="202"> </div>
<pre class="css">p {
  text-align: justify;
  hanging-punctuation: force-end;
}
</pre>
    </div>
    <p>The punctuation at the end of the first line for <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-allow-end" id="ref-for-valdef-hanging-punctuation-allow-end①">allow-end</a> does not hang, because it fits without hanging.
        However, if <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-force-end" id="ref-for-valdef-hanging-punctuation-force-end①">force-end</a> is used, it is forced to hang.
        The justification measures the line without the hanging punctuation.
        Therefore when the line is expanded, the punctuation is pushed outside the line.</p>
   </div>
   <h3 class="heading settled" data-level="8.3" id="bidi-linebox"><span class="secno">8.3. </span><span class="content"> Bidirectionality and Line Boxes</span><a class="self-link" href="#bidi-linebox"></a></h3>
   <p>The <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#start" id="ref-for-start③">start</a> and <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-3/#end" id="ref-for-end③">end</a> edges of a line box
    are determined by the <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#inline-base-direction" id="ref-for-inline-base-direction">inline base direction</a> of the line box.
    In most cases, this is given by its containing block’s computed <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction" id="ref-for-propdef-direction①">direction</a>. </p>
   <p>However if its containing block has <a class="css" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-unicode-bidi" id="ref-for-propdef-unicode-bidi">unicode-bidi: plaintext</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a>,
    the line box’s <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#inline-base-direction" id="ref-for-inline-base-direction①">inline base direction</a> must be determined
    by the <span id="ref-for-inline-base-direction②">inline base direction</span> of the <a data-link-type="dfn" href="https://drafts.csswg.org/css-writing-modes-4/#bidi-paragraph" id="ref-for-bidi-paragraph">bidi paragraph</a> to which it belongs:
    that is, the <span id="ref-for-bidi-paragraph①">bidi paragraph</span> for which the line box holds content.
    An empty line box
    (i.e. one that contains no atomic inlines or
     characters other than the line-breaking character, if any),
    takes its <span id="ref-for-inline-base-direction③">inline base direction</span> from the preceding line box (if any), or,
    if this is the first line box in the containing block,
    then from the <a class="property" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction" id="ref-for-propdef-direction②">direction</a> property of the containing block. </p>
   <div class="example" id="example-bd3bffe6">
    <a class="self-link" href="#example-bd3bffe6"></a> 
    <p>In the following example, assuming the <code>&lt;block></code> is a preformatted block (<a class="css" data-link-type="propdesc" href="https://drafts.csswg.org/css-display-3/#propdef-display" id="ref-for-propdef-display">display: block; white-space: pre</a>) inheriting <a class="css" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align⑧">text-align: start</a>, every other line is right-aligned:</p>
<pre>&lt;block style="unicode-bidi: plaintext">
  Latin
  و·کمی
  Latin
  و·کمی
  Latin
  و·کمی
&lt;/block></pre>
   </div>
   <p class="note" role="note">Note: The inline base direction determined here
    applies to the line box itself, and not to its contents.
    It affects <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all⑦">text-align-all</a>, <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last⑨">text-align-last</a>, <a class="property" data-link-type="propdesc" href="#propdef-text-indent" id="ref-for-propdef-text-indent⑥">text-indent</a>, and <a class="property" data-link-type="propdesc" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation④">hanging-punctuation</a>,
    i.e. the position and alignment of its contents with respect to its edges.
    It does not affect the formatting or ordering of its content. </p>
   <div class="example" id="example-bd46543d">
    <a class="self-link" href="#example-bd46543d"></a> 
    <p>In the following example: </p>
<pre>&lt;para style="display: block; direction: rtl; unicode-bidi:plaintext">
&lt;quote style="unicode-bidi:plaintext">שלום!&lt;/quote>", he said.
&lt;/para></pre>
    <p>The result should be a left-aligned line looking like this: </p>
<pre>"!שלום", he said.</pre>
    <p>The line is left-aligned
      (despite the containing block having <a class="css" data-link-type="propdesc" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction" id="ref-for-propdef-direction③">direction: rtl</a>)
      because the containing block (the <code>&lt;para></code>) has <span class="css">unicode-bidi:plaintext</span>,
      and the line box belongs to a bidi paragraph that is LTR.
      This is because that paragraph’s first character with a strong direction
      is the LTR "h" from "he". The RTL "שלום!" does precede the "he",
      but it sits in its own bidi-isolated paragraph that is <em>not</em> immediately contained by the <code>&lt;para></code>,
      and is thus irrelevant to the line box’s alignment.
      From from the standpoint of the bidi paragraph immediately contained
      by the <code>&lt;para></code> containing block,
      the <code>&lt;quote></code>’s bidi-isolated paragraph inside it is,
      by definition, just a neutral U+FFFC character,
      so the immediately-contained paragraph becomes LTR by virtue
      of the "he" following it. </p>
   </div>
   <div class="example" id="example-51fbfdc7">
    <a class="self-link" href="#example-51fbfdc7"></a> 
<pre>&lt;fieldset style="direction: rtl">
&lt;textarea style="unicode-bidi:plaintext">

Hello!

&lt;/textarea>
&lt;/fieldset></pre>
    <p>As expected, the "Hello!" should be displayed LTR
      (i.e. with the exclamation mark on the right end,
      despite the <code>&lt;textarea></code>’s <span class="css">direction:rtl</span>)
      and left-aligned.
      This makes the empty line following it left-aligned as well,
      which means that the caret on that line should appear at its
      left edge. The first empty line, on the other hand, should
      be right-aligned, due to the RTL direction of its containing
      paragraph, the <code>&lt;textarea></code>. </p>
   </div>
   <h2 class="no-num heading settled" id="order"><span class="content">Appendix A:
Text Processing Order of Operations</span><a class="self-link" href="#order"></a></h2>
   <p>The following list defines the order of text operations.
  (Implementations are not bound to this order as long as the resulting layout is the same.) </p>
   <ol>
    <li><a href="#white-space-phase-1">white space processing</a> part I (pre-wrapping) 
    <li><a href="#transforming">text transformation</a> 
    <li><a href="https://www.w3.org/TR/css-writing-modes-3/#text-combine-horizontal">text combination</a> 
    <li><a href="https://www.w3.org/TR/css-writing-modes-3/#text-orientation">text orientation</a> <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> 
    <li>
     <a href="#wrapping" id="ref-for-wrapping⑥">text wrapping</a> while applying per line: 
     <ul>
      <li><a href="#text-indent-property">indentation</a> 
      <li><a href="https://www.w3.org/TR/css-writing-modes-3/#text-direction">bidirectional reordering</a> <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> / <a data-link-type="biblio" href="#biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]</a> 
      <li><a href="#white-space-phase-2">white space processing</a> part II 
      <li><a href="https://www.w3.org/TR/css-fonts-3/">font/glyph selection and positioning</a> <a data-link-type="biblio" href="#biblio-css2">[CSS2]</a> / <a data-link-type="biblio" href="#biblio-css-fonts-3">[CSS-FONTS-3]</a> 
      <li><a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⑥">letter-spacing</a> and <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑧">word-spacing</a> 
      <li><a href="#hanging-punctuation-property">hanging punctuation</a> 
     </ul>
    <li><a href="#justification">justification</a> (which may affect glyph selection and/or text wrapping, looping back into that step) 
    <li><a href="#text-align-property">text alignment</a> 
   </ol>
   <h2 class="no-num heading settled" id="plaintext"><span class="content"> Appendix B: Conversion to Plaintext</span><a class="self-link" href="#plaintext"></a></h2>
   <p>This appendix is normative for the purpose of plaintext copy-paste operations. </p>
   <p>When a CSS-rendered document is converted to a plaintext format,
  it is expected that: </p>
   <ul>
    <li>The <a class="property" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform④">text-transform</a> property has no effect. 
    <li><a href="#white-space-phase-1">§ 4.1.1 Phase I: Collapsing and Transformation</a> is applied and any sequence of <a data-link-type="dfn" href="#collapsible-white-space" id="ref-for-collapsible-white-space⑨">collapsible</a> <a data-link-type="dfn" href="#white-space" id="ref-for-white-space②⑧">white space</a> at the beginning of a <a data-link-type="dfn" href="https://drafts.csswg.org/css-display-3/#block" id="ref-for-block">block</a> or immediately following a <a data-link-type="dfn" href="#forced-line-break" id="ref-for-forced-line-break⑦">forced line break</a> is removed. 
   </ul>
   <h2 class="no-num heading settled" id="default-stylesheet"><span class="content"> Appendix C: Default UA Stylesheet</span><a class="self-link" href="#default-stylesheet"></a></h2>
   <p>This appendix is informative,
  and is to help UA developers to implement a default stylesheet for HTML,
  but UA developers are free to ignore or modify as appropriate. </p>
   <div class="example" id="example-5acf2408">
    <a class="self-link" href="#example-5acf2408"></a> 
<pre>/* make list items and option elements align together */
li, option { text-align: match-parent; }</pre>
   </div>
   <p class="feedback issue" id="issue-da88b7c6"><a class="self-link" href="#issue-da88b7c6"></a>If you find any issues, recommendations to add, or corrections,
    please send the information to <a href="mailto:www-style@w3.org">www-style@w3.org</a> with <kbd>[css-text]</kbd> in the subject line.</p>
   <h2 class="no-num heading settled" id="script-groups"><span class="content"> Appendix D: Scripts and Spacing</span><a class="self-link" href="#script-groups"></a></h2>
   <p><em>This appendix is normative.</em></p>
   <p>Typographic behavior varies somewhat by language, but varies drastically by writing system.
  	This appendix categorizes some common <a data-link-type="dfn" href="#unicode-script" id="ref-for-unicode-script①">scripts</a> in Unicode 6.0
    according to their justification and spacing behavior.
  	Category descriptions are descriptive, not prescriptive;
  	the determining factor is the prioritization of <a data-link-type="dfn" href="#justification-opportunity" id="ref-for-justification-opportunity②⓪">justification opportunities</a>. </p>
   <dl>
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="block-scripts">block scripts</dfn>
    <dd>CJK and by extension all Wide characters (see <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a>.)
  	  The following <a data-link-type="dfn" href="#unicode-script" id="ref-for-unicode-script②">Unicode scripts</a> are included:
      Bopomofo, Han, Hangul, Hiragana, Katakana, and Yi.
      Characters of the <a data-link-type="dfn" href="#unicode-east-asian-width" id="ref-for-unicode-east-asian-width⑥">East Asian Width property</a> <code>Wide</code> and <code>Fullwidth</code> are also included,
      but <code>Ambiguous</code> characters are included only if
      the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system⑥">writing system</a> is <a data-link-type="dfn" href="#writing-system-chinese" id="ref-for-writing-system-chinese④">Chinese</a>, <a data-link-type="dfn" href="#writing-system-korean" id="ref-for-writing-system-korean">Korean</a>, or <a data-link-type="dfn" href="#writing-system-japanese" id="ref-for-writing-system-japanese④">Japanese</a>. 
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="clustered-scripts">clustered scripts</dfn>
    <dd>Clustered scripts have discrete units
      and break only at word boundaries,
      but do not use visible word separators.
      They prioritize stretching spaces,
      but comfortably admit inter-character spacing for justification.
  	  The clustered scripts include, but are not limited to, the following <a data-link-type="dfn" href="#unicode-script" id="ref-for-unicode-script③">Unicode scripts</a>:
      Khmer,
      Lao,
      Myanmar,
      New Tai Lue,
      Tai Le,
      Tai Tham,
      Tai Viet,
      Thai 
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="cursive script" data-noexport id="cursive-script">cursive scripts</dfn> 
    <dd>Cursive scripts do not admit gaps between their letters for either justification or <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⑦">letter-spacing</a>.
      The following <a data-link-type="dfn" href="#unicode-script" id="ref-for-unicode-script④">Unicode scripts</a> are included:
      Arabic,
      Mandaic,
      Mongolian,
      N’Ko,
      Phags Pa,
      Syriac 
   </dl>
   <p>User agents should update this list as they update their Unicode support
    to handle as-yet-unencoded cursive scripts in future versions of Unicode,
    and are encouraged to ask the CSSWG to update this spec accordingly. </p>
   <p class="issue" id="issue-f70a210b"><a class="self-link" href="#issue-f70a210b"></a>Should block and cluster scripts be merged?
  They have different tolerances for space-justification vs inter-character justification,
  but both admit both. </p>
   <h2 class="no-num heading settled" id="character-properties"><span class="content">Appendix E.
Characters and Properties</span><a class="self-link" href="#character-properties"></a></h2>
   <p>Unicode defines four code point-level properties that are referenced
    in CSS typesetting: </p>
   <dl>
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="Unicode East Asian Width|East Asian Width property" id="unicode-east-asian-width"><a href="http://www.unicode.org/reports/tr11/#Definitions">East Asian width property</a></dfn> 
    <dd>Defined in <a data-link-type="biblio" href="#biblio-uax11">[UAX11]</a> and given as the <code>East_Asian_Width</code> property
      in the Unicode Character Database <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a>. 
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="Unicode General Category|Unicode category|General Category" id="unicode-general-category"><a href="http://www.unicode.org/reports/tr44/#General_Category_Values">general category</a></dfn> 
    <dd>Defined in <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a> and given as the <code>General_Category</code> property
      in the Unicode Character Database <span>[UAX44]</span>. 
    <dt><dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="Unicode Script|Script property" id="unicode-script"><a href="http://www.unicode.org/reports/tr24/#Values">script property</a></dfn> 
    <dd>Defined in <a data-link-type="biblio" href="#biblio-uax24">[UAX24]</a> and given as the <code>Script</code> property
      in the Unicode Character Database <a data-link-type="biblio" href="#biblio-uax44">[UAX44]</a>.
      (UAs must include any ScriptExtensions.txt assignments in this mapping.) 
    <dt><a href="http://www.unicode.org/reports/tr50/">Vertical Orientation</a> 
    <dd>Defined in <a data-link-type="biblio" href="#biblio-utr50">[UTR50]</a> as the Vertical_Orientation property
      and given in the UTR50 data file. 
   </dl>
   <p>Unicode defines properties for individual code points, but sometimes
    it is necessary to determine the properties of a <a data-link-type="dfn" href="#typographic-character-unit" id="ref-for-typographic-character-unit④②">typographic character unit</a>.
    For the purposes of CSS Text,
    the properties of a <span id="ref-for-typographic-character-unit④③">typographic character unit</span> are given by
    the base character of its first <a data-link-type="dfn" href="#grapheme-cluster" id="ref-for-grapheme-cluster④">grapheme cluster</a>—except in two cases: </p>
   <ul>
    <li><a data-link-type="dfn" href="#grapheme-cluster" id="ref-for-grapheme-cluster⑤">Grapheme clusters</a> formed with an Enclosing Mark (<code>Me</code>) of the Common script
    are considered to be Other Symbols (<code>So</code>) in the Common script.
    They are assumed to have the same Unicode properties as the Replacement Character U+FFFD. 
    <li>Grapheme clusters formed with a Space Separator (<code>Zs</code>) as the base
    are considered to be Modifier Symbols (<code>Sk</code>).
    They are assumed to have the same East Asian Width property as the base,
    but take their other properties from the first combining character in the sequence. 
   </ul>
   <h2 class="no-num heading settled" id="script-tagging"><span class="content">Appendix F.
Tagging Content by Writing System</span><a class="self-link" href="#script-tagging"></a></h2>
   <p><em>This appendix is normative.</em></p>
   <p>While most languages have a preferred writing system,
	many can also be transcribed into a different writing system.
	As a common example, most languages have at least one Latin transcription,
	and can thus be written in the Latin writing system.
	In these cases the document typically adopts the typographic conventions of the Latin writing system:
	for example Japanese “romaji” and Chinese Pinyin use Latin letters and word spaces,
	and follow Latin line-breaking and justification practices accordingly.
	As another example, historical ideographic Korean
	(<code>ko-Hani</code>)
	does not use word spaces,
	and should therefore be typeset as for Chinese.</p>
   <p>In <a data-link-type="biblio" href="#biblio-html">[HTML]</a> or any other <a data-link-type="dfn" href="https://drafts.csswg.org/selectors-4/#document-language" id="ref-for-document-language②">document language</a> using <a data-link-type="biblio" href="#biblio-bcp47">[BCP47]</a> to identify the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①④">content language</a>,
	authors can indicate the use of an atypical writing system
	with script subtags.
	For example, to indicate use of the Latin writing system
	for languages which don’t natively use it,
	the <code>-Latn</code> script subtag can be added,
	e.g. <code>ja-Latn</code> for Japanese romaji.
	Other subtags exist for other writing systems:
	see <span>[BCP47]</span>, <a data-link-type="biblio" href="#biblio-iso15924">[ISO15924]</a>, and the <a href="http://unicode.org/iso15924/iso15924-codes.html">ISO15924 script tag registry</a>.
	Some common/historical examples follow:</p>
   <div class="example" id="example-6f0aa286">
    <a class="self-link" href="#example-6f0aa286"></a> 
    <dl>
     <dt><code>zh-Latn</code> 
     <dd>Chinese, written in Latin transcription. 
     <dt><code>ko-Hani</code> 
     <dd>Korean, written in Hanja (Chinese ideographic characters). 
     <dt><code>tr-Arab</code> 
     <dd>Turkish, written in Arabic script. 
     <dt><code>mn-Cyrl</code> 
     <dd>Mongolian, written in Cyrillic. 
     <dt><code>mn-Mong</code> 
     <dd>Mongolian, written in traditional Mongolian script. 
    </dl>
   </div>
   <p>UAs should assume the most common writing system
	of the specified <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①⑤">content language</a> when choosing typographic behaviors
	such as line-breaking or justification strategies,
	but must not assume that writing system
	if the author has explicitly indicated a different one.
	If the UA has no language-specific knowledge
	of a particular language and writing system combination,
	it must use the typographic conventions of the specified writing system
	(assuming the conventions of a different language if necessary),
	not the conventions of that language in a different writing system,
	which would be inappropriate to the writing system used in this case.</p>
   <p>The full correspondence between languages and their most common writing system
	is out of scope for this document.
	However, User Agents must assume at least the following:</p>
   <ul>
    <li data-md>
     <p>If the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①⑥">content language</a> is Chinese and the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system⑦">writing system</a> is unspecified,
or for any <span id="ref-for-content-language①⑦">content language</span> if the <span id="ref-for-content-writing-system⑧">writing system</span> to specified to be one of the <span class="css">Hant</span>, <span class="css">Hans</span>, <span class="css">Hani</span>, <span class="css">Hanb</span>, or <span class="css">Bopo</span> <a data-link-type="biblio" href="#biblio-iso15924">[ISO15924]</a> codes,
then the <span id="ref-for-content-writing-system⑨">writing system</span> is <dfn class="dfn-paneled" data-dfn-for="writing-system" data-dfn-type="dfn" data-noexport id="writing-system-chinese">Chinese</dfn>.</p>
    <li data-md>
     <p>If the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language①⑧">content language</a> is Japanese and the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system①⓪">writing system</a> is unspecified,
or for any <span id="ref-for-content-language①⑨">content language</span> if the <span id="ref-for-content-writing-system①①">writing system</span> to specified to be one of the <span class="css">Jpan</span>, <span class="css">Hrkt</span>, <span class="css">Hira</span> or <span class="css">Kana</span> <a data-link-type="biblio" href="#biblio-iso15924">[ISO15924]</a> codes,
then the <span id="ref-for-content-writing-system①②">writing system</span> is <dfn class="dfn-paneled" data-dfn-for="writing-system" data-dfn-type="dfn" data-noexport id="writing-system-japanese">Japanese</dfn>.</p>
    <li data-md>
     <p>If the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language②⓪">content language</a> is Korean and the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system①③">writing system</a> is unspecified,
or for any <span id="ref-for-content-language②①">content language</span> if the <span id="ref-for-content-writing-system①④">writing system</span> to specified to be one of the <span class="css">Kore</span>, <span class="css">Hang</span>, or <span class="css">Jamo</span> <a data-link-type="biblio" href="#biblio-iso15924">[ISO15924]</a> codes,
then the <span id="ref-for-content-writing-system①⑤">writing system</span> is <dfn class="dfn-paneled" data-dfn-for="writing-system" data-dfn-type="dfn" data-noexport id="writing-system-korean">Korean</dfn>.</p>
    <li data-md>
     <p>The <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system①⑥">writing system</a> is only considered to be <dfn data-dfn-for="writing-system" data-dfn-type="dfn" data-lt="known | unknown" data-noexport id="writing-system-known">unknown<a class="self-link" href="#writing-system-known"></a></dfn> if the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language②②">content language</a> itself is unknown,
or if it explicitly indicates an unknown writing system.</p>
     <p class="note" role="note"><span>Note:</span> Mere omission of the <a data-link-type="dfn" href="#content-writing-system" id="ref-for-content-writing-system①⑦">writing system</a> information when the <a data-link-type="dfn" href="#content-language" id="ref-for-content-language②③">content language</a> is specified
means the that the <span id="ref-for-content-writing-system①⑧">writing system</span> is implied, not unknown.</p>
   </ul>
   <p>More advice on language tagging can be found in
	the <a href="https://www.w3.org/International/core/">Internationalization Working Group</a>’s <a href="https://www.w3.org/International/articles/language-tags/">“Language tags in HTML and XML”</a> and <a href="https://www.w3.org/International/questions/qa-choosing-language-tags">“Choosing a Language Tag”</a>.</p>
   <h2 class="no-num heading settled" id="small-kana"><span class="content">Appendix G.
Small Kana Mappings</span><a class="self-link" href="#small-kana"></a></h2>
   <div class="pairs-table">
    <table class="data">
     <caption>Small Kana Map to Full-size Kana</caption>
     <thead>
      <tr>
       <th scope="col"><dfn class="dfn-paneled" data-dfn-for="kana" data-dfn-type="dfn" data-lt="small | small kana" data-noexport id="kana-small">Small</dfn> 
       <th scope="col"><dfn class="dfn-paneled" data-dfn-for="kana" data-dfn-type="dfn" data-lt="full-size |full-size kana" data-noexport id="kana-full-size">Full-size</dfn> 
     <tbody title="Hiragana">
      <tr>
       <td>ぁ U+3041 
       <td>あ U+3042 
      <tr>
       <td>ぃ U+3043 
       <td>い U+3044 
      <tr>
       <td>ぅ U+3045 
       <td>う U+3046 
      <tr>
       <td>ぇ U+3047 
       <td>え U+3048 
      <tr>
       <td>ぉ U+3049 
       <td>お U+304A 
      <tr>
       <td>ゕ U+3095 
       <td>か U+304B 
      <tr>
       <td>ゖ U+3096 
       <td>け U+3051 
      <tr>
       <td>っ U+3063 
       <td>つ U+3064 
      <tr>
       <td>ゃ U+3083 
       <td>や U+3084 
      <tr>
       <td>ゅ U+3085 
       <td>ゆ U+3086 
      <tr>
       <td>ょ U+3087 
       <td>よ U+3088 
      <tr>
       <td>ゎ U+308E 
       <td>わ U+308F 
     <tbody title="Katakana">
      <tr>
       <td>ァ U+30A1 
       <td>ア U+30A2 
      <tr>
       <td>ィ U+30A3 
       <td>イ U+30A4 
      <tr>
       <td>ゥ U+30A5 
       <td>ウ U+30A6 
      <tr>
       <td>ェ U+30A7 
       <td>エ U+30A8 
      <tr>
       <td>ォ U+30A9 
       <td>オ U+30AA 
      <tr>
       <td>ヵ U+30F5 
       <td>カ U+30AB 
      <tr>
       <td>ㇰ U+31F0 
       <td>ク U+30AF 
      <tr>
       <td>ヶ U+30F6 
       <td>ケ U+30B1 
      <tr>
       <td>ㇱ U+31F1 
       <td>シ U+30B7 
      <tr>
       <td>ㇲ U+31F2 
       <td>ス U+30B9 
      <tr>
       <td>ッ U+30C3 
       <td>ツ U+30C4 
      <tr>
       <td>ㇳ U+31F3 
       <td>ト U+30C8 
      <tr>
       <td>ㇴ U+31F4 
       <td>ヌ U+30CC 
      <tr>
       <td>ㇵ U+31F5 
       <td>ハ U+30CF 
      <tr>
       <td>ㇶ U+31F6 
       <td>ヒ U+30D2 
      <tr>
       <td>ㇷ U+31F7 
       <td>フ U+30D5 
      <tr>
       <td>ㇸ U+31F8 
       <td>ヘ U+30D8 
      <tr>
       <td>ㇹ U+31F9 
       <td>ホ U+30DB 
      <tr>
       <td>ㇺ U+31FA 
       <td>ム U+30E0 
      <tr>
       <td>ャ U+30E3 
       <td>ヤ U+30E4 
      <tr>
       <td>ュ U+30E5 
       <td>ユ U+30E6 
      <tr>
       <td>ョ U+30E7 
       <td>ヨ U+30E8 
      <tr>
       <td>ㇻ U+31FB 
       <td>ラ U+30E9 
      <tr>
       <td>ㇼ U+31FC 
       <td>リ U+30EA 
      <tr>
       <td>ㇽ U+31FD 
       <td>ル U+30EB 
      <tr>
       <td>ㇾ U+31FE 
       <td>レ U+30EC 
      <tr>
       <td>ㇿ U+31FF 
       <td>ロ U+30ED 
      <tr>
       <td>ヮ U+30EE 
       <td>ワ U+30EF 
     <tbody title="Half-width Katakana">
      <tr>
       <td>ｧ U+FF67 
       <td>ｱ U+FF71 
      <tr>
       <td>ｨ U+FF68 
       <td>ｲ U+FF72 
      <tr>
       <td>ｩ U+FF69 
       <td>ｳ U+FF73 
      <tr>
       <td>ｪ U+FF6A 
       <td>ｴ U+FF74 
      <tr>
       <td>ｫ U+FF6B 
       <td>ｵ U+FF75 
      <tr>
       <td>ｯ U+FF6F 
       <td>ﾂ U+FF82 
      <tr>
       <td>ｬ U+FF6C 
       <td>ﾔ U+FF94 
      <tr>
       <td>ｭ U+FF6D 
       <td>ﾕ U+FF95 
      <tr>
       <td>ｮ U+FF6E 
       <td>ﾖ U+FF96 
    </table>
   </div>
   <h2 class="no-num heading settled" id="priv-sec"><span class="content"> Privacy and Security Considerations</span><a class="self-link" href="#priv-sec"></a></h2>
   <p>This specification introduces no new security considerations.</p>
   <p>This specification leaks the user’s installed hyphenation and line-breaking dictionaries.</p>
   <h2 class="no-num heading settled" id="acknowledgements"><span class="content"> Acknowledgements</span><a class="self-link" href="#acknowledgements"></a></h2>
   <p>This specification would not have been possible without the help from:
  Ayman Aldahleh, Bert Bos, Tantek Çelik, James Clark, Emilio Cobos Álvarez, Stephen Deach, John Daggett,
  Martin Dürst,
  Laurie Anna Edlund, Ben Errez, Yaniv Feinberg, Arye Gittelman, Ian
  Hickson, Martin Heijdra, Richard Ishida, Masayasu Ishikawa,
  Michael Jochimsen, Eric LeVine, Ambrose Li, Håkon Wium Lie, Chris Lilley,
  Ken Lunde, Myles Maxfield, Nat McCully, IM Mincheol, Shinyu Murakami, Paul Nelson,
  Chris Pratley, Xidorn Quan, Marcin Sawicki,
  Arnold Schrijver, Rahul Sonnad, Alan Stearns, Michel Suignard, Takao Suzuki,
  Frank Tang, Chris Thrasher, Etan Wexler, Chris Wilson, Masafumi Yabe
  and Steve Zilles. </p>
   <h2 class="no-num heading settled" id="changes"><span class="content"> Changes</span><a class="self-link" href="#changes"></a></h2>
   <h3 class="no-num heading settled" id="changes-2018-12-12"><span class="content"> Changes from the <a href="https://www.w3.org/TR/2018/WD-css-text-3-20181212/">12 December 2018 Working Draft</a></span><span id="recent-changes"></span><a class="self-link" href="#changes-2018-12-12"></a></h3>
   <ul>
    <li data-md>
     <p>Clarify that <a class="css" data-link-type="propdesc" href="#propdef-hyphens" id="ref-for-propdef-hyphens④">hyphens: none</a> does not suppress wrapping opportunities after U+002D or U+2010.</p>
    <li data-md>
     <p>Fix stray text leftover when removing percentages as a possible value for word-spacing.</p>
    <li data-md>
     <p>Add support for <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①⑧">word-break: break-word</a> as a deprecated value, as needed for compatibility with this previously proprietary syntax.</p>
    <li data-md>
     <p>Use <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-allow-end" id="ref-for-valdef-hanging-punctuation-allow-end②">allow-end</a> hanging rules rather than <a class="css" data-link-type="maybe" href="#valdef-hanging-punctuation-force-end" id="ref-for-valdef-hanging-punctuation-force-end②">force-end</a> rules for trailing white space;
define how it impacts intrinsic size contributions of text.
(<a href="https://github.com/w3c/csswg-drafts/issues/3440">Issue 3440</a>)</p>
    <li data-md>
     <p>Generalize the logic that handles spaces at the end of lines to
sequences of Unicode Zs spaces (except NBSP), not just of Space U+0020.</p>
    <li data-md>
     <p>Clarify the interaction of collapslible spaces at the end of a line and bidi.</p>
   </ul>
   <h3 class="no-num heading settled" id="changes-2018-12-06"><span class="content"> Changes from the <a href="https://www.w3.org/TR/2018/WD-css-text-3-20181206/">6 December 2018 Working Draft</a></span><a class="self-link" href="#changes-2018-12-06"></a></h3>
   <p>Changes between 6 December 2018 and 12 December 2018 consist of
  some minor cleanup in the line breaking section
  and deferring <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#percentage-value" id="ref-for-percentage-value">&lt;percentage></a> values of <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing⑨">word-spacing</a> to Level 4
  with the expectation that they will be redefined
  (see discussion in <a href="https://github.com/w3c/csswg-drafts/issues/2165">issue 2165</a>).</p>
   <h3 class="no-num heading settled" id="changes-2013"><span class="content"> Changes from the <a href="https://www.w3.org/TR/2013/WD-css-text-3-20131010/">October
  2013 CSS3 Text <abbr title="Last Call Working Draft">LCWD</abbr></a></span><a class="self-link" href="#changes-2013"></a></h3>
   <p class="issue" id="issue-3acca28e"><a class="self-link" href="#issue-3acca28e"></a> THIS CHANGES LIST IS WAY INCOMPLETE PLEASE SEE <a href="https://drafts.csswg.org/css-text-3/issues-lc-2013">Disposition of Comments</a>.</p>
   <ul>
    <li>Switched <a class="property" data-link-type="propdesc" href="#propdef-tab-size" id="ref-for-propdef-tab-size③">tab-size</a> to use <a class="production css" data-link-type="type" href="https://drafts.csswg.org/css-values-3/#number-value" id="ref-for-number-value②">&lt;number></a> so that it is animatable,
        and defined it to also account for <a class="property" data-link-type="propdesc" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⑧">letter-spacing</a> and <a class="property" data-link-type="propdesc" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing①⓪">word-spacing</a>. 
    <li>Made <a class="property" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align⑨">text-align</a> a shorthand of <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last①⓪">text-align-last</a> and the new <a class="property" data-link-type="propdesc" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all⑧">text-align-all</a> property. 
    <li>Removed dependence of <a class="property" data-link-type="propdesc" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last①①">text-align-last</a> on <a class="css" data-link-type="propdesc" href="#propdef-text-align" id="ref-for-propdef-text-align①⓪">text-align: justify</a>,
        since the problem it solves is now solved by the shorthanding relationship. 
    <li>Qualified that only lowercase letters are titlecased for <a class="css" data-link-type="propdesc" href="#propdef-text-transform" id="ref-for-propdef-text-transform⑤">text-transform: capitalize</a>; uppercase letters remain unaffected. 
    <li>For <a class="css" data-link-type="propdesc" href="#propdef-word-break" id="ref-for-propdef-word-break①⑨">word-break: break-all</a>, switched to UAX14 notion of “letters”,
        since that handles symbols better. 
    <li>Added <a class="css" data-link-type="propdesc" href="#propdef-line-break" id="ref-for-propdef-line-break①②">line-break: anywhere</a> and <a class="css" data-link-type="propdesc" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap①⓪">overflow-wrap: anywhere</a>. 
    <li>Tweaked handling of Ambiguous characters during <a href="#line-break-transform">segment break transformation</a> to respond to language context. 
   </ul>
  </main>
  <h2 class="no-ref no-num heading settled" id="conformance"><span class="content"> Conformance</span><a class="self-link" href="#conformance"></a></h2>
  <h3 class="heading settled" id="document-conventions"><span class="content"> Document conventions</span><a class="self-link" href="#document-conventions"></a></h3>
  <p>Conformance requirements are expressed with a combination of
	descriptive assertions and RFC 2119 terminology. The key words “MUST”,
	“MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”,
	“RECOMMENDED”, “MAY”, and “OPTIONAL” in the normative parts of this
	document are to be interpreted as described in RFC 2119.
	However, for readability, these words do not appear in all uppercase
	letters in this specification. </p>
  <p>All of the text of this specification is normative except sections
	explicitly marked as non-normative, examples, and notes. <a data-link-type="biblio" href="#biblio-rfc2119">[RFC2119]</a> </p>
  <p>Examples in this specification are introduced with the words “for example”
	or are set apart from the normative text with <code>class="example"</code>,
	like this: </p>
  <div class="example" id="example-ae2b6bc0">
   <a class="self-link" href="#example-ae2b6bc0"></a> 
   <p>This is an example of an informative example. </p>
  </div>
  <p>Informative notes begin with the word “Note” and are set apart from the
	normative text with <code>class="note"</code>, like this: </p>
  <p class="note" role="note">Note, this is an informative note. </p>
  <p>Advisements are normative sections styled to evoke special attention and are
	set apart from other normative text with <code>&lt;strong class="advisement"></code>, like
	this: <strong class="advisement"> UAs MUST provide an accessible alternative. </strong> </p>
  <h3 class="heading settled" id="conform-classes"><span class="content"> Conformance classes</span><a class="self-link" href="#conform-classes"></a></h3>
  <p>Conformance to this specification
	is defined for three conformance classes: </p>
  <dl>
   <dt>style sheet 
   <dd>A <a href="http://www.w3.org/TR/CSS2/conform.html#style-sheet">CSS
			style sheet</a>. 
   <dt>renderer 
   <dd>A <a href="http://www.w3.org/TR/CSS2/conform.html#user-agent">UA</a> that interprets the semantics of a style sheet and renders
			documents that use them. 
   <dt>authoring tool 
   <dd>A <a href="http://www.w3.org/TR/CSS2/conform.html#user-agent">UA</a> that writes a style sheet. 
  </dl>
  <p>A style sheet is conformant to this specification
	if all of its statements that use syntax defined in this module are valid
	according to the generic CSS grammar and the individual grammars of each
	feature defined in this module. </p>
  <p>A renderer is conformant to this specification
	if, in addition to interpreting the style sheet as defined by the
	appropriate specifications, it supports all the features defined
	by this specification by parsing them correctly
	and rendering the document accordingly. However, the inability of a
	UA to correctly render a document due to limitations of the device
	does not make the UA non-conformant. (For example, a UA is not
	required to render color on a monochrome monitor.) </p>
  <p>An authoring tool is conformant to this specification
	if it writes style sheets that are syntactically correct according to the
	generic CSS grammar and the individual grammars of each feature in
	this module, and meet all other conformance requirements of style sheets
	as described in this module. </p>
  <h3 class="heading settled" id="conform-responsible"><span class="content"> Requirements for Responsible Implementation of CSS</span><a class="self-link" href="#conform-responsible"></a></h3>
  <p>The following sections define several conformance requirements
		for implementing CSS responsibly,
		in a way that promotes interoperability in the present and future. </p>
  <h4 class="heading settled" id="conform-partial"><span class="content"> Partial Implementations</span><a class="self-link" href="#conform-partial"></a></h4>
  <p>So that authors can exploit the forward-compatible parsing rules to assign fallback values, <strong>CSS renderers <em>must</em> treat as invalid
		(and <a href="http://www.w3.org/TR/CSS2/conform.html#ignore">ignore as appropriate</a>)
		any at-rules, properties, property values, keywords, and other syntactic constructs
		for which they have no usable level of support</strong>.
		In particular, user agents <em>must not</em> selectively ignore
		unsupported property values and honor supported values in a single multi-value property declaration:
		if any value is considered invalid (as unsupported values must be),
		CSS requires that the entire declaration be ignored. </p>
  <h4 class="heading settled" id="conform-future-proofing"><span class="content"> Implementations of Unstable and Proprietary Features</span><a class="self-link" href="#conform-future-proofing"></a></h4>
  <p>To avoid clashes with future stable CSS features,
		the CSSWG recommends <a href="http://www.w3.org/TR/CSS/#future-proofing">following best practices</a> for the implementation of <a href="http://www.w3.org/TR/CSS/#unstable">unstable</a> features and <a href="http://www.w3.org/TR/CSS/#proprietary-extension">proprietary extensions</a> to CSS. </p>
  <h4 class="heading settled" id="conform-testing"><span class="content"> Implementations of CR-level Features</span><a class="self-link" href="#conform-testing"></a></h4>
  <p>Once a specification reaches the Candidate Recommendation stage,
		implementers should release an <a data-link-type="dfn" href="http://www.w3.org/TR/CSS/#vendor-prefix">unprefixed</a> implementation
		of any CR-level feature they can demonstrate
		to be correctly implemented according to spec,
		and should avoid exposing a prefixed variant of that feature. </p>
  <p>To establish and maintain the interoperability of CSS across
		implementations, the CSS Working Group requests that non-experimental
		CSS renderers submit an implementation report (and, if necessary, the
		testcases used for that implementation report) to the W3C before
		releasing an unprefixed implementation of any CSS features. Testcases
		submitted to W3C are subject to review and correction by the CSS
		Working Group. </p>
  <p>
   Further information on submitting testcases and implementation reports
		can be found from on the CSS Working Group’s website at <a href="http://www.w3.org/Style/CSS/Test/">http://www.w3.org/Style/CSS/Test/</a>.
		Questions should be directed to the <a href="http://lists.w3.org/Archives/Public/public-css-testsuite">public-css-testsuite@w3.org</a> mailing list. 
<script src="https://www.w3.org/scripts/TR/2016/fixup.js"></script>
  </p>
  <aside class="caniuse-status" data-deco data-dfn-id="tab-size-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android yes"><span>Android Browser</span><span>67+</span></span><span class="baidu yes"><span>Baidu Browser</span><span>7.12+</span></span><span class="bb partial"><span><span>Blackberry Browser (limited)</span></span><span>7+</span></span><span class="chrome yes"><span>Chrome</span><span>42+</span></span><span class="and_chr yes"><span>Chrome for Android</span><span>74+</span></span><span class="edge yes"><span>Edge</span><span>75+</span></span><span class="firefox no"><span>Firefox</span><span>None</span></span><span class="and_ff no"><span>Firefox for Android</span><span>None</span></span><span class="ie no"><span>IE</span><span>None</span></span><span class="ie_mob no"><span>IE Mobile</span><span>None</span></span><span class="kaios no"><span>KaiOS Browser</span><span>None</span></span><span class="opera yes"><span>Opera</span><span>29+</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob yes"><span>Opera Mobile</span><span>46+</span></span><span class="and_qq yes"><span>QQ Browser</span><span>1.2+</span></span><span class="safari partial"><span><span>Safari (limited)</span></span><span>6.1+</span></span><span class="samsung yes"><span>Samsung Internet</span><span>4+</span></span><span class="and_uc yes"><span>UC Browser for Android</span><span>11.8+</span></span><span class="ios_saf partial"><span><span>iOS Safari (limited)</span></span><span>7.0+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css3-tabsize">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="word-break-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android yes"><span>Android Browser</span><span>67+</span></span><span class="baidu yes"><span>Baidu Browser</span><span>7.12+</span></span><span class="bb partial"><span><span>Blackberry Browser (limited)</span></span><span>7+</span></span><span class="chrome yes"><span>Chrome</span><span>44+</span></span><span class="and_chr yes"><span>Chrome for Android</span><span>74+</span></span><span class="edge yes"><span>Edge</span><span>12+</span></span><span class="firefox yes"><span>Firefox</span><span>15+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie yes"><span>IE</span><span>5.5+</span></span><span class="ie_mob yes"><span>IE Mobile</span><span>10+</span></span><span class="kaios yes"><span>KaiOS Browser</span><span>2.5+</span></span><span class="opera yes"><span>Opera</span><span>31+</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob partial"><span><span>Opera Mobile (limited)</span></span><span>46+</span></span><span class="and_qq partial"><span><span>QQ Browser (limited)</span></span><span>1.2+</span></span><span class="safari yes"><span>Safari</span><span>9+</span></span><span class="samsung yes"><span>Samsung Internet</span><span>4+</span></span><span class="and_uc partial"><span><span>UC Browser for Android (limited)</span></span><span>11.8+</span></span><span class="ios_saf yes"><span>iOS Safari</span><span>9.0+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=word-break">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="hyphenation">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android partial"><span><span>Android Browser (limited)</span></span><span>67+</span></span><span class="baidu partial"><span><span>Baidu Browser (limited)</span></span><span>7.12+</span></span><span class="bb no"><span>Blackberry Browser</span><span>None</span></span><span class="chrome partial"><span><span>Chrome (limited)</span></span><span>55+</span></span><span class="and_chr partial"><span><span>Chrome for Android (limited)</span></span><span>74+</span></span><span class="edge partial"><span><span>Edge (limited)</span></span><span>75+</span></span><span class="firefox yes"><span>Firefox</span><span>43+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie no"><span>IE</span><span>None</span></span><span class="ie_mob no"><span>IE Mobile</span><span>None</span></span><span class="kaios yes"><span>KaiOS Browser</span><span>2.5+</span></span><span class="opera partial"><span><span>Opera (limited)</span></span><span>42+</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob no"><span>Opera Mobile</span><span>None</span></span><span class="and_qq no"><span>QQ Browser</span><span>None</span></span><span class="safari no"><span>Safari</span><span>None</span></span><span class="samsung yes"><span>Samsung Internet</span><span>6.2+</span></span><span class="and_uc partial"><span><span>UC Browser for Android (limited)</span></span><span>11.8+</span></span><span class="ios_saf no"><span>iOS Safari</span><span>None</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-hyphens">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="overflow-wrap-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android yes"><span>Android Browser</span><span>4.4+</span></span><span class="baidu yes"><span>Baidu Browser</span><span>7.12+</span></span><span class="bb yes"><span>Blackberry Browser</span><span>10+</span></span><span class="chrome yes"><span>Chrome</span><span>23+</span></span><span class="and_chr yes"><span>Chrome for Android</span><span>74+</span></span><span class="edge yes"><span>Edge</span><span>18+</span></span><span class="firefox yes"><span>Firefox</span><span>49+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie partial"><span><span>IE (limited)</span></span><span>5.5+</span></span><span class="ie_mob partial"><span><span>IE Mobile (limited)</span></span><span>10+</span></span><span class="kaios partial"><span><span>KaiOS Browser (limited)</span></span><span>2.5+</span></span><span class="opera yes"><span>Opera</span><span>12.1+</span></span><span class="op_mini partial"><span><span>Opera Mini (limited)</span></span><span>All</span></span><span class="op_mob yes"><span>Opera Mobile</span><span>46+</span></span><span class="and_qq yes"><span>QQ Browser</span><span>1.2+</span></span><span class="safari yes"><span>Safari</span><span>6.1+</span></span><span class="samsung yes"><span>Samsung Internet</span><span>4+</span></span><span class="and_uc yes"><span>UC Browser for Android</span><span>11.8+</span></span><span class="ios_saf yes"><span>iOS Safari</span><span>7.0+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=wordwrap">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="text-align-last-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android yes"><span>Android Browser</span><span>67+</span></span><span class="baidu yes"><span>Baidu Browser</span><span>7.12+</span></span><span class="bb no"><span>Blackberry Browser</span><span>None</span></span><span class="chrome yes"><span>Chrome</span><span>47+</span></span><span class="and_chr yes"><span>Chrome for Android</span><span>74+</span></span><span class="edge yes"><span>Edge</span><span>75+</span></span><span class="firefox yes"><span>Firefox</span><span>49+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie partial"><span><span>IE (limited)</span></span><span>5.5+</span></span><span class="ie_mob partial"><span><span>IE Mobile (limited)</span></span><span>10+</span></span><span class="kaios no"><span>KaiOS Browser</span><span>None</span></span><span class="opera yes"><span>Opera</span><span>34+</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob no"><span>Opera Mobile</span><span>None</span></span><span class="and_qq no"><span>QQ Browser</span><span>None</span></span><span class="safari no"><span>Safari</span><span>None</span></span><span class="samsung yes"><span>Samsung Internet</span><span>5.0+</span></span><span class="and_uc yes"><span>UC Browser for Android</span><span>11.8+</span></span><span class="ios_saf no"><span>iOS Safari</span><span>None</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-text-align-last">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="text-justify-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android no"><span>Android Browser</span><span>None</span></span><span class="baidu no"><span>Baidu Browser</span><span>None</span></span><span class="bb no"><span>Blackberry Browser</span><span>None</span></span><span class="chrome no"><span>Chrome</span><span>None</span></span><span class="and_chr no"><span>Chrome for Android</span><span>None</span></span><span class="edge no"><span>Edge</span><span>None</span></span><span class="firefox yes"><span>Firefox</span><span>55+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie partial"><span><span>IE (limited)</span></span><span>8+</span></span><span class="ie_mob partial"><span><span>IE Mobile (limited)</span></span><span>10+</span></span><span class="kaios no"><span>KaiOS Browser</span><span>None</span></span><span class="opera no"><span>Opera</span><span>None</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob no"><span>Opera Mobile</span><span>None</span></span><span class="and_qq no"><span>QQ Browser</span><span>None</span></span><span class="safari no"><span>Safari</span><span>None</span></span><span class="samsung no"><span>Samsung Internet</span><span>None</span></span><span class="and_uc no"><span>UC Browser for Android</span><span>None</span></span><span class="ios_saf no"><span>iOS Safari</span><span>None</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-text-justify">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="letter-spacing-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android yes"><span>Android Browser</span><span>4.4+</span></span><span class="baidu yes"><span>Baidu Browser</span><span>7.12+</span></span><span class="bb partial"><span><span>Blackberry Browser (limited)</span></span><span>7+</span></span><span class="chrome yes"><span>Chrome</span><span>30+</span></span><span class="and_chr yes"><span>Chrome for Android</span><span>74+</span></span><span class="edge yes"><span>Edge</span><span>12+</span></span><span class="firefox yes"><span>Firefox</span><span>2+</span></span><span class="and_ff yes"><span>Firefox for Android</span><span>66+</span></span><span class="ie yes"><span>IE</span><span>9+</span></span><span class="ie_mob yes"><span>IE Mobile</span><span>10+</span></span><span class="kaios yes"><span>KaiOS Browser</span><span>2.5+</span></span><span class="opera yes"><span>Opera</span><span>17+</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob yes"><span>Opera Mobile</span><span>46+</span></span><span class="and_qq yes"><span>QQ Browser</span><span>1.2+</span></span><span class="safari yes"><span>Safari</span><span>6.1+</span></span><span class="samsung yes"><span>Samsung Internet</span><span>4+</span></span><span class="and_uc yes"><span>UC Browser for Android</span><span>11.8+</span></span><span class="ios_saf yes"><span>iOS Safari</span><span>4.0+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-letter-spacing">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="text-indent-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android partial"><span><span>Android Browser (limited)</span></span><span>2.1+</span></span><span class="baidu partial"><span><span>Baidu Browser (limited)</span></span><span>7.12+</span></span><span class="bb partial"><span><span>Blackberry Browser (limited)</span></span><span>7+</span></span><span class="chrome partial"><span><span>Chrome (limited)</span></span><span>4+</span></span><span class="and_chr partial"><span><span>Chrome for Android (limited)</span></span><span>74+</span></span><span class="edge partial"><span><span>Edge (limited)</span></span><span>12+</span></span><span class="firefox partial"><span><span>Firefox (limited)</span></span><span>2+</span></span><span class="and_ff partial"><span><span>Firefox for Android (limited)</span></span><span>66+</span></span><span class="ie partial"><span><span>IE (limited)</span></span><span>5.5+</span></span><span class="ie_mob partial"><span><span>IE Mobile (limited)</span></span><span>10+</span></span><span class="kaios partial"><span><span>KaiOS Browser (limited)</span></span><span>2.5+</span></span><span class="opera partial"><span><span>Opera (limited)</span></span><span>9+</span></span><span class="op_mini partial"><span><span>Opera Mini (limited)</span></span><span>All</span></span><span class="op_mob partial"><span><span>Opera Mobile (limited)</span></span><span>10+</span></span><span class="and_qq partial"><span><span>QQ Browser (limited)</span></span><span>1.2+</span></span><span class="safari partial"><span><span>Safari (limited)</span></span><span>3.1+</span></span><span class="samsung partial"><span><span>Samsung Internet (limited)</span></span><span>4+</span></span><span class="and_uc partial"><span><span>UC Browser for Android (limited)</span></span><span>11.8+</span></span><span class="ios_saf partial"><span><span>iOS Safari (limited)</span></span><span>3.2+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-text-indent">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <aside class="caniuse-status" data-deco data-dfn-id="hanging-punctuation-property">
   <input class="caniuse-panel-btn" type="button" value="⋰">
   <p class="support"><b>Support:</b><span class="android no"><span>Android Browser</span><span>None</span></span><span class="baidu no"><span>Baidu Browser</span><span>None</span></span><span class="bb no"><span>Blackberry Browser</span><span>None</span></span><span class="chrome no"><span>Chrome</span><span>None</span></span><span class="and_chr no"><span>Chrome for Android</span><span>None</span></span><span class="edge no"><span>Edge</span><span>None</span></span><span class="firefox no"><span>Firefox</span><span>None</span></span><span class="and_ff no"><span>Firefox for Android</span><span>None</span></span><span class="ie no"><span>IE</span><span>None</span></span><span class="ie_mob no"><span>IE Mobile</span><span>None</span></span><span class="kaios no"><span>KaiOS Browser</span><span>None</span></span><span class="opera no"><span>Opera</span><span>None</span></span><span class="op_mini no"><span>Opera Mini</span><span>None</span></span><span class="op_mob no"><span>Opera Mobile</span><span>None</span></span><span class="and_qq no"><span>QQ Browser</span><span>None</span></span><span class="safari yes"><span>Safari</span><span>10+</span></span><span class="samsung no"><span>Samsung Internet</span><span>None</span></span><span class="and_uc no"><span>UC Browser for Android</span><span>None</span></span><span class="ios_saf yes"><span>iOS Safari</span><span>10.0+</span></span></p>
   <p class="caniuse">Source: <a href="https://caniuse.com/#feat=css-hanging-punctuation">caniuse.com</a> as of 2019-06-04</p>
  </aside>
  <h2 class="no-num no-ref heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2>
  <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="content">Terms defined by this specification</span><a class="self-link" href="#index-defined-here"></a></h3>
  <ul class="index">
   <li><a href="#valdef-hanging-punctuation-allow-end">allow-end</a><span>, in §8.2.1</span>
   <li>
    anywhere
    <ul>
     <li><a href="#valdef-line-break-anywhere">value for line-break</a><span>, in §5.3</span>
     <li><a href="#valdef-overflow-wrap-anywhere">value for overflow-wrap</a><span>, in §5.5</span>
    </ul>
   <li>
    auto
    <ul>
     <li><a href="#valdef-hyphens-auto">value for hyphens</a><span>, in §5.4</span>
     <li><a href="#valdef-line-break-auto">value for line-break</a><span>, in §5.3</span>
     <li><a href="#valdef-text-align-last-auto">value for text-align-last</a><span>, in §6.3</span>
     <li><a href="#valdef-text-justify-auto">value for text-justify</a><span>, in §6.4</span>
    </ul>
   <li><a href="#bidi-formatting-characters">bidi formatting characters</a><span>, in §4.1.1</span>
   <li><a href="#block-scripts">block scripts</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-word-break-break-all">break-all</a><span>, in §5.2</span>
   <li><a href="#valdef-white-space-break-spaces">break-spaces</a><span>, in §3</span>
   <li>
    break-word
    <ul>
     <li><a href="#valdef-overflow-wrap-break-word">value for overflow-wrap</a><span>, in §5.5</span>
     <li><a href="#valdef-word-break-break-word">value for word-break</a><span>, in §5.2</span>
    </ul>
   <li><a href="#valdef-text-transform-capitalize">capitalize</a><span>, in §2.1</span>
   <li><a href="#valdef-text-align-center">center</a><span>, in §6.1</span>
   <li><a href="#character">character</a><span>, in §1.4</span>
   <li><a href="#writing-system-chinese">Chinese</a><span>, in §Unnumbered section</span>
   <li><a href="#clustered-scripts">clustered scripts</a><span>, in §Unnumbered section</span>
   <li><a href="#collapsible-white-space">collapsible</a><span>, in §4.1.1</span>
   <li><a href="#collapsible-white-space">collapsible white space</a><span>, in §4.1.1</span>
   <li><a href="#conditionally-hang">conditionally hang</a><span>, in §8.2</span>
   <li><a href="#content-language">content language</a><span>, in §1.3</span>
   <li><a href="#content-writing-system">content writing system</a><span>, in §1.3</span>
   <li><a href="#cursive-script">cursive script</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-text-justify-distribute">distribute</a><span>, in §6.4</span>
   <li><a href="#white-space">document white space</a><span>, in §4.1</span>
   <li><a href="#white-space">document white space characters</a><span>, in §4.1</span>
   <li><a href="#valdef-text-indent-each-line">each-line</a><span>, in §8.1</span>
   <li><a href="#unicode-east-asian-width">East Asian Width property</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-text-align-end">end</a><span>, in §6.1</span>
   <li><a href="#valdef-hanging-punctuation-first">first</a><span>, in §8.2.1</span>
   <li><a href="#forced-line-break">forced line break</a><span>, in §5</span>
   <li><a href="#valdef-hanging-punctuation-force-end">force-end</a><span>, in §8.2.1</span>
   <li><a href="#kana-full-size">full-size</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-text-transform-full-size-kana">full-size-kana</a><span>, in §2.1</span>
   <li><a href="#kana-full-size">full-size kana</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-text-transform-full-width">full-width</a><span>, in §2.1</span>
   <li><a href="#unicode-general-category">General Category</a><span>, in §Unnumbered section</span>
   <li><a href="#grapheme-cluster">grapheme cluster</a><span>, in §1.4</span>
   <li><a href="#hang">hang</a><span>, in §8.2</span>
   <li><a href="#valdef-text-indent-hanging">hanging</a><span>, in §8.1</span>
   <li><a href="#propdef-hanging-punctuation">hanging-punctuation</a><span>, in §8.2.1</span>
   <li><a href="#hyphenate">hyphenate</a><span>, in §5.4</span>
   <li><a href="#hyphenate">hyphenation</a><span>, in §5.4</span>
   <li><a href="#hyphenation-opportunity">hyphenation opportunity</a><span>, in §5.4</span>
   <li><a href="#propdef-hyphens">hyphens</a><span>, in §5.4</span>
   <li><a href="#valdef-text-justify-inter-character">inter-character</a><span>, in §6.4</span>
   <li><a href="#valdef-text-justify-inter-word">inter-word</a><span>, in §6.4</span>
   <li><a href="#writing-system-japanese">Japanese</a><span>, in §Unnumbered section</span>
   <li><a href="#justification-opportunity">justification opportunity</a><span>, in §6.4.1</span>
   <li><a href="#valdef-text-align-justify">justify</a><span>, in §6.1</span>
   <li><a href="#valdef-text-align-justify-all">justify-all</a><span>, in §6.1</span>
   <li><a href="#valdef-word-break-keep-all">keep-all</a><span>, in §5.2</span>
   <li><a href="#writing-system-known">known</a><span>, in §Unnumbered section</span>
   <li><a href="#writing-system-korean">Korean</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-hanging-punctuation-last">last</a><span>, in §8.2.1</span>
   <li><a href="#valdef-text-align-left">left</a><span>, in §6.1</span>
   <li>
    &lt;length>
    <ul>
     <li><a href="#valdef-letter-spacing-length">value for letter-spacing</a><span>, in §7.2</span>
     <li><a href="#valdef-text-indent-length">value for text-indent</a><span>, in §8.1</span>
     <li><a href="#valdef-word-spacing-length">value for word-spacing</a><span>, in §7.1</span>
    </ul>
   <li><a href="#letter">letter</a><span>, in §1.4</span>
   <li><a href="#propdef-letter-spacing">letter-spacing</a><span>, in §7.2</span>
   <li><a href="#propdef-line-break">line-break</a><span>, in §5.3</span>
   <li><a href="#line-break">line break</a><span>, in §5</span>
   <li><a href="#line-breaking-process">line breaking</a><span>, in §5</span>
   <li><a href="#line-breaking-process">line breaking process</a><span>, in §5</span>
   <li><a href="#valdef-line-break-loose">loose</a><span>, in §5.3</span>
   <li><a href="#valdef-text-transform-lowercase">lowercase</a><span>, in §2.1</span>
   <li><a href="#valdef-hyphens-manual">manual</a><span>, in §5.4</span>
   <li><a href="#valdef-text-align-match-parent">match-parent</a><span>, in §6.1</span>
   <li>
    none
    <ul>
     <li><a href="#valdef-hanging-punctuation-none">value for hanging-punctuation</a><span>, in §8.2.1</span>
     <li><a href="#valdef-hyphens-none">value for hyphens</a><span>, in §5.4</span>
     <li><a href="#valdef-text-justify-none">value for text-justify</a><span>, in §6.4</span>
     <li><a href="#valdef-text-transform-none">value for text-transform</a><span>, in §2.1</span>
    </ul>
   <li>
    normal
    <ul>
     <li><a href="#valdef-letter-spacing-normal">value for letter-spacing</a><span>, in §7.2</span>
     <li><a href="#valdef-line-break-normal">value for line-break</a><span>, in §5.3</span>
     <li><a href="#valdef-overflow-wrap-normal">value for overflow-wrap</a><span>, in §5.5</span>
     <li><a href="#valdef-white-space-normal">value for white-space</a><span>, in §3</span>
     <li><a href="#valdef-word-break-normal">value for word-break</a><span>, in §5.2</span>
     <li><a href="#valdef-word-spacing-normal">value for word-spacing</a><span>, in §7.1</span>
    </ul>
   <li><a href="#valdef-white-space-nowrap">nowrap</a><span>, in §3</span>
   <li><a href="#other-space-separators">other space separators</a><span>, in §4.1</span>
   <li><a href="#propdef-overflow-wrap">overflow-wrap</a><span>, in §5.5</span>
   <li><a href="#valdef-text-indent-percentage">&lt;percentage></a><span>, in §8.1</span>
   <li><a href="#valdef-white-space-pre">pre</a><span>, in §3</span>
   <li><a href="#valdef-white-space-pre-line">pre-line</a><span>, in §3</span>
   <li><a href="#preserved-white-space">preserved</a><span>, in §3</span>
   <li><a href="#preserved-white-space">preserved white space</a><span>, in §3</span>
   <li><a href="#valdef-white-space-pre-wrap">pre-wrap</a><span>, in §3</span>
   <li><a href="#valdef-text-align-right">right</a><span>, in §6.1</span>
   <li><a href="#unicode-script">Script property</a><span>, in §Unnumbered section</span>
   <li><a href="#segment-break">segment break</a><span>, in §4</span>
   <li><a href="#kana-small">small</a><span>, in §Unnumbered section</span>
   <li><a href="#kana-small">small kana</a><span>, in §Unnumbered section</span>
   <li><a href="#soft-wrap-break">soft wrap break</a><span>, in §5</span>
   <li><a href="#soft-wrap-opportunity">soft wrap opportunity</a><span>, in §5</span>
   <li><a href="#spaces">spaces</a><span>, in §4.1</span>
   <li><a href="#valdef-text-align-start">start</a><span>, in §6.1</span>
   <li><a href="#stop-or-comma">stop or comma</a><span>, in §8.2.1</span>
   <li><a href="#valdef-line-break-strict">strict</a><span>, in §5.3</span>
   <li><a href="#tabs">tabs</a><span>, in §4.1</span>
   <li><a href="#tab-size-dfn">tab size</a><span>, in §4.2</span>
   <li><a href="#propdef-tab-size">tab-size</a><span>, in §4.2</span>
   <li><a href="#tab-stop">tab stop</a><span>, in §4.1.3</span>
   <li><a href="#propdef-text-align">text-align</a><span>, in §6.1</span>
   <li><a href="#propdef-text-align-all">text-align-all</a><span>, in §6.2</span>
   <li><a href="#propdef-text-align-last">text-align-last</a><span>, in §6.3</span>
   <li><a href="#propdef-text-indent">text-indent</a><span>, in §8.1</span>
   <li><a href="#propdef-text-justify">text-justify</a><span>, in §6.4</span>
   <li><a href="#propdef-text-transform">text-transform</a><span>, in §2.1</span>
   <li><a href="#tracking">tracking</a><span>, in §7.2</span>
   <li><a href="#typographic-character-unit">typographic character</a><span>, in §1.4</span>
   <li><a href="#typographic-character-unit">typographic character unit</a><span>, in §1.4</span>
   <li><a href="#typographic-letter-unit">typographic letter unit</a><span>, in §1.4</span>
   <li><a href="#unicode-general-category">Unicode category</a><span>, in §Unnumbered section</span>
   <li><a href="#unicode-east-asian-width">Unicode East Asian Width</a><span>, in §Unnumbered section</span>
   <li><a href="#unicode-general-category">Unicode General Category</a><span>, in §Unnumbered section</span>
   <li><a href="#unicode-script">Unicode Script</a><span>, in §Unnumbered section</span>
   <li><a href="#writing-system-known">unknown</a><span>, in §Unnumbered section</span>
   <li><a href="#valdef-text-transform-uppercase">uppercase</a><span>, in §2.1</span>
   <li><a href="#propdef-white-space">white-space</a><span>, in §3</span>
   <li><a href="#white-space">white space</a><span>, in §4.1</span>
   <li><a href="#white-space">white space characters</a><span>, in §4.1</span>
   <li><a href="#propdef-word-break">word-break</a><span>, in §5.2</span>
   <li><a href="#word-separator">word separator</a><span>, in §7.1</span>
   <li><a href="#word-separator">word-separator character</a><span>, in §7.1</span>
   <li><a href="#propdef-word-spacing">word-spacing</a><span>, in §7.1</span>
   <li><a href="#propdef-word-wrap">word-wrap</a><span>, in §5.5</span>
   <li><a href="#wrapping">wrap</a><span>, in §5</span>
   <li><a href="#wrapping">wrapping</a><span>, in §5</span>
   <li><a href="#content-writing-system">writing system</a><span>, in §1.3</span>
  </ul>
  <aside class="dfn-panel" data-for="term-for-propdef-border">
   <a href="https://drafts.csswg.org/css-backgrounds-3/#propdef-border">https://drafts.csswg.org/css-backgrounds-3/#propdef-border</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-border">7.3. 
  Shaping Across Element Boundaries</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-margin">
   <a href="https://drafts.csswg.org/css-box-3/#propdef-margin">https://drafts.csswg.org/css-box-3/#propdef-margin</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-margin">7.3. 
  Shaping Across Element Boundaries</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-padding">
   <a href="https://drafts.csswg.org/css-box-3/#propdef-padding">https://drafts.csswg.org/css-box-3/#propdef-padding</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-padding">7.3. 
  Shaping Across Element Boundaries</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-valdef-all-inherit">
   <a href="https://drafts.csswg.org/css-cascade-4/#valdef-all-inherit">https://drafts.csswg.org/css-cascade-4/#valdef-all-inherit</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-all-inherit">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-inherited-value">
   <a href="https://drafts.csswg.org/css-cascade-4/#inherited-value">https://drafts.csswg.org/css-cascade-4/#inherited-value</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-inherited-value">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-legacy-name-alias">
   <a href="https://drafts.csswg.org/css-cascade-4/#legacy-name-alias">https://drafts.csswg.org/css-cascade-4/#legacy-name-alias</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-legacy-name-alias">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-shorthand-property">
   <a href="https://drafts.csswg.org/css-cascade-4/#shorthand-property">https://drafts.csswg.org/css-cascade-4/#shorthand-property</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-shorthand-property">6.1. 
    Text Alignment: the text-align shorthand</a>
    <li><a href="#ref-for-shorthand-property①">6.2. 
    Default Text Alignment: the text-align-all property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-at-ruledef-counter-style">
   <a href="https://drafts.csswg.org/css-counter-styles-3/#at-ruledef-counter-style">https://drafts.csswg.org/css-counter-styles-3/#at-ruledef-counter-style</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-at-ruledef-counter-style">2.1. 
    Case Transforms: the text-transform property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-block">
   <a href="https://drafts.csswg.org/css-display-3/#block">https://drafts.csswg.org/css-display-3/#block</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-block"> Appendix B: Conversion to Plaintext</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-display">
   <a href="https://drafts.csswg.org/css-display-3/#propdef-display">https://drafts.csswg.org/css-display-3/#propdef-display</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-display">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-initial-containing-block">
   <a href="https://drafts.csswg.org/css-display-3/#initial-containing-block">https://drafts.csswg.org/css-display-3/#initial-containing-block</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-initial-containing-block">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-inline-box">
   <a href="https://drafts.csswg.org/css-display-3/#inline-box">https://drafts.csswg.org/css-display-3/#inline-box</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-inline-box">1.5. 
Text Processing</a>
    <li><a href="#ref-for-inline-box①">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-inline-box②">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-inline-box③">5.2. 
    Breaking Rules for Letters: the word-break property</a>
    <li><a href="#ref-for-inline-box④">5.3. 
    Line Breaking Strictness: the line-break property</a>
    <li><a href="#ref-for-inline-box⑤">5.4. 
    Hyphenation: the hyphens property</a>
    <li><a href="#ref-for-inline-box⑥">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
    <li><a href="#ref-for-inline-box⑦">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-inline-box⑧">7.1. 
Word Spacing: the word-spacing property</a>
    <li><a href="#ref-for-inline-box⑨">7.2. 
    Tracking: the letter-spacing property</a>
    <li><a href="#ref-for-inline-box①⓪">8.2. 
    Hanging Glyphs</a>
    <li><a href="#ref-for-inline-box①①">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-out-of-flow">
   <a href="https://drafts.csswg.org/css-display-3/#out-of-flow">https://drafts.csswg.org/css-display-3/#out-of-flow</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-out-of-flow">1.5. 
Text Processing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-font-feature-settings">
   <a href="https://drafts.csswg.org/css-fonts-4/#propdef-font-feature-settings">https://drafts.csswg.org/css-fonts-4/#propdef-font-feature-settings</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-font-feature-settings">7.2. 
    Tracking: the letter-spacing property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-vertical-align">
   <a href="https://drafts.csswg.org/css-inline-3/#propdef-vertical-align">https://drafts.csswg.org/css-inline-3/#propdef-vertical-align</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-vertical-align">7.3. 
  Shaping Across Element Boundaries</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-scrollable-overflow-region">
   <a href="https://drafts.csswg.org/css-overflow-3/#scrollable-overflow-region">https://drafts.csswg.org/css-overflow-3/#scrollable-overflow-region</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-scrollable-overflow-region">8.2. 
    Hanging Glyphs</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-left">
   <a href="https://drafts.csswg.org/css-position-3/#propdef-left">https://drafts.csswg.org/css-position-3/#propdef-left</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-left">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-right">
   <a href="https://drafts.csswg.org/css-position-3/#propdef-right">https://drafts.csswg.org/css-position-3/#propdef-right</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-right">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-inner-size">
   <a href="https://drafts.csswg.org/css-sizing-3/#inner-size">https://drafts.csswg.org/css-sizing-3/#inner-size</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-inner-size">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-intrinsic-size-contribution">
   <a href="https://drafts.csswg.org/css-sizing-3/#intrinsic-size-contribution">https://drafts.csswg.org/css-sizing-3/#intrinsic-size-contribution</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-intrinsic-size-contribution">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-intrinsic-sizing">
   <a href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizing">https://drafts.csswg.org/css-sizing-3/#intrinsic-sizing</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-intrinsic-sizing">3. 
  White Space and Wrapping: the white-space property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-max-content">
   <a href="https://drafts.csswg.org/css-sizing-3/#max-content">https://drafts.csswg.org/css-sizing-3/#max-content</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-max-content">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-max-content①">8.2. 
    Hanging Glyphs</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-min-content">
   <a href="https://drafts.csswg.org/css-sizing-3/#min-content">https://drafts.csswg.org/css-sizing-3/#min-content</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-min-content">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-min-content①">5.4. 
    Hyphenation: the hyphens property</a>
    <li><a href="#ref-for-min-content②">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-min-content③">(2)</a>
    <li><a href="#ref-for-min-content④">8.2. 
    Hanging Glyphs</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-length-value">
   <a href="https://drafts.csswg.org/css-values-3/#length-value">https://drafts.csswg.org/css-values-3/#length-value</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-length-value">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-length-value①">7.1. 
Word Spacing: the word-spacing property</a>
    <li><a href="#ref-for-length-value②">7.2. 
    Tracking: the letter-spacing property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-number-value">
   <a href="https://drafts.csswg.org/css-values-3/#number-value">https://drafts.csswg.org/css-values-3/#number-value</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-number-value">4.2. 
    Tab Character Size: the tab-size property</a> <a href="#ref-for-number-value①">(2)</a>
    <li><a href="#ref-for-number-value②"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-percentage-value">
   <a href="https://drafts.csswg.org/css-values-3/#percentage-value">https://drafts.csswg.org/css-values-3/#percentage-value</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-percentage-value"> Changes from the 6 December 2018 Working Draft</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-comb-all">
   <a href="https://drafts.csswg.org/css-values-4/#comb-all">https://drafts.csswg.org/css-values-4/#comb-all</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-comb-all">8.1. 
    First Line Indentation: the text-indent property</a> <a href="#ref-for-comb-all①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-typedef-length-percentage">
   <a href="https://drafts.csswg.org/css-values-4/#typedef-length-percentage">https://drafts.csswg.org/css-values-4/#typedef-length-percentage</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-typedef-length-percentage">8.1. 
    First Line Indentation: the text-indent property</a> <a href="#ref-for-typedef-length-percentage①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-mult-opt">
   <a href="https://drafts.csswg.org/css-values-4/#mult-opt">https://drafts.csswg.org/css-values-4/#mult-opt</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-mult-opt">8.1. 
    First Line Indentation: the text-indent property</a> <a href="#ref-for-mult-opt①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-css-wide-keywords">
   <a href="https://drafts.csswg.org/css-values-4/#css-wide-keywords">https://drafts.csswg.org/css-values-4/#css-wide-keywords</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-css-wide-keywords">1.2. 
Values</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-comb-one">
   <a href="https://drafts.csswg.org/css-values-4/#comb-one">https://drafts.csswg.org/css-values-4/#comb-one</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-comb-one">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-comb-one①">(2)</a> <a href="#ref-for-comb-one②">(3)</a>
    <li><a href="#ref-for-comb-one③">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-comb-one④">(2)</a> <a href="#ref-for-comb-one⑤">(3)</a> <a href="#ref-for-comb-one⑥">(4)</a> <a href="#ref-for-comb-one⑦">(5)</a>
    <li><a href="#ref-for-comb-one⑧">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-comb-one⑨">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-comb-one①⓪">(2)</a> <a href="#ref-for-comb-one①①">(3)</a>
    <li><a href="#ref-for-comb-one①②">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-comb-one①③">(2)</a> <a href="#ref-for-comb-one①④">(3)</a> <a href="#ref-for-comb-one①⑤">(4)</a>
    <li><a href="#ref-for-comb-one①⑥">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-comb-one①⑦">(2)</a>
    <li><a href="#ref-for-comb-one①⑧">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-comb-one①⑨">(2)</a>
    <li><a href="#ref-for-comb-one②⓪">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-comb-one②①">(2)</a> <a href="#ref-for-comb-one②②">(3)</a> <a href="#ref-for-comb-one②③">(4)</a> <a href="#ref-for-comb-one②④">(5)</a> <a href="#ref-for-comb-one②⑤">(6)</a> <a href="#ref-for-comb-one②⑥">(7)</a>
    <li><a href="#ref-for-comb-one②⑦">6.2. 
    Default Text Alignment: the text-align-all property</a> <a href="#ref-for-comb-one②⑧">(2)</a> <a href="#ref-for-comb-one②⑨">(3)</a> <a href="#ref-for-comb-one③⓪">(4)</a> <a href="#ref-for-comb-one③①">(5)</a> <a href="#ref-for-comb-one③②">(6)</a>
    <li><a href="#ref-for-comb-one③③">6.3. 
    Last Line Alignment: the text-align-last property</a> <a href="#ref-for-comb-one③④">(2)</a> <a href="#ref-for-comb-one③⑤">(3)</a> <a href="#ref-for-comb-one③⑥">(4)</a> <a href="#ref-for-comb-one③⑦">(5)</a> <a href="#ref-for-comb-one③⑧">(6)</a> <a href="#ref-for-comb-one③⑨">(7)</a>
    <li><a href="#ref-for-comb-one④⓪">6.4. 
    Justification Method: the text-justify property</a> <a href="#ref-for-comb-one④①">(2)</a> <a href="#ref-for-comb-one④②">(3)</a>
    <li><a href="#ref-for-comb-one④③">7.1. 
Word Spacing: the word-spacing property</a>
    <li><a href="#ref-for-comb-one④④">7.2. 
    Tracking: the letter-spacing property</a>
    <li><a href="#ref-for-comb-one④⑤">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-comb-one④⑥">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-comb-any">
   <a href="https://drafts.csswg.org/css-values-4/#comb-any">https://drafts.csswg.org/css-values-4/#comb-any</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-comb-any">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-comb-any①">(2)</a>
    <li><a href="#ref-for-comb-any②">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-comb-any③">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-direction">
   <a href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction">https://drafts.csswg.org/css-writing-modes-3/#propdef-direction</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-direction">6.1. 
    Text Alignment: the text-align shorthand</a>
    <li><a href="#ref-for-propdef-direction①">8.3. 
Bidirectionality and Line Boxes</a> <a href="#ref-for-propdef-direction②">(2)</a> <a href="#ref-for-propdef-direction③">(3)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-end">
   <a href="https://drafts.csswg.org/css-writing-modes-3/#end">https://drafts.csswg.org/css-writing-modes-3/#end</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-end">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-end①">(2)</a> <a href="#ref-for-end②">(3)</a>
    <li><a href="#ref-for-end③">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-start">
   <a href="https://drafts.csswg.org/css-writing-modes-3/#start">https://drafts.csswg.org/css-writing-modes-3/#start</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-start">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-start①">(2)</a> <a href="#ref-for-start②">(3)</a>
    <li><a href="#ref-for-start③">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-unicode-bidi">
   <a href="https://drafts.csswg.org/css-writing-modes-3/#propdef-unicode-bidi">https://drafts.csswg.org/css-writing-modes-3/#propdef-unicode-bidi</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-unicode-bidi">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-bidi-paragraph">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#bidi-paragraph">https://drafts.csswg.org/css-writing-modes-4/#bidi-paragraph</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-bidi-paragraph">8.3. 
Bidirectionality and Line Boxes</a> <a href="#ref-for-bidi-paragraph①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-bidi-isolate">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#bidi-isolate">https://drafts.csswg.org/css-writing-modes-4/#bidi-isolate</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-bidi-isolate">7.3. 
  Shaping Across Element Boundaries</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-inline-base-direction">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#inline-base-direction">https://drafts.csswg.org/css-writing-modes-4/#inline-base-direction</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-inline-base-direction">8.3. 
Bidirectionality and Line Boxes</a> <a href="#ref-for-inline-base-direction①">(2)</a> <a href="#ref-for-inline-base-direction②">(3)</a> <a href="#ref-for-inline-base-direction③">(4)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-inline-axis">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#inline-axis">https://drafts.csswg.org/css-writing-modes-4/#inline-axis</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-inline-axis">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-logical-width">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#logical-width">https://drafts.csswg.org/css-writing-modes-4/#logical-width</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-logical-width">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-propdef-text-orientation">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation">https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-orientation">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-propdef-text-orientation①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-valdef-text-orientation-upright">
   <a href="https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-upright">https://drafts.csswg.org/css-writing-modes-4/#valdef-text-orientation-upright</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-orientation-upright">1.4. 
Characters and Letters</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-resolved-value">
   <a href="https://drafts.csswg.org/cssom-1/#resolved-value">https://drafts.csswg.org/cssom-1/#resolved-value</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-resolved-value">7.2. 
    Tracking: the letter-spacing property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-the-wbr-element">
   <a href="https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-wbr-element">https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-wbr-element</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-the-wbr-element">5.2. 
    Breaking Rules for Letters: the word-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="term-for-document-language">
   <a href="https://drafts.csswg.org/selectors-4/#document-language">https://drafts.csswg.org/selectors-4/#document-language</a><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-document-language">1.3. 
Languages and Typesetting</a> <a href="#ref-for-document-language①">(2)</a>
    <li><a href="#ref-for-document-language②">Appendix F.
Tagging Content by Writing System</a>
   </ul>
  </aside>
  <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span class="content">Terms defined by reference</span><a class="self-link" href="#index-defined-elsewhere"></a></h3>
  <ul class="index">
   <li>
    <a data-link-type="biblio">[css-backgrounds-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-border" style="color:initial">border</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-box-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-margin" style="color:initial">margin</span>
     <li><span class="dfn-paneled" id="term-for-propdef-padding" style="color:initial">padding</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-cascade-4]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-valdef-all-inherit" style="color:initial">inherit</span>
     <li><span class="dfn-paneled" id="term-for-inherited-value" style="color:initial">inherited value</span>
     <li><span class="dfn-paneled" id="term-for-legacy-name-alias" style="color:initial">legacy name alias</span>
     <li><span class="dfn-paneled" id="term-for-shorthand-property" style="color:initial">shorthand property</span>
    </ul>
   <li>
    <a data-link-type="biblio">[CSS-COUNTER-STYLES-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-at-ruledef-counter-style" style="color:initial">@counter-style</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-display-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-block" style="color:initial">block</span>
     <li><span class="dfn-paneled" id="term-for-propdef-display" style="color:initial">display</span>
     <li><span class="dfn-paneled" id="term-for-initial-containing-block" style="color:initial">initial containing block</span>
     <li><span class="dfn-paneled" id="term-for-inline-box" style="color:initial">inline box</span>
     <li><span class="dfn-paneled" id="term-for-out-of-flow" style="color:initial">out-of-flow</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-fonts-4]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-font-feature-settings" style="color:initial">font-feature-settings</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-inline-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-vertical-align" style="color:initial">vertical-align</span>
    </ul>
   <li>
    <a data-link-type="biblio">[CSS-OVERFLOW-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-scrollable-overflow-region" style="color:initial">scrollable overflow region</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-position-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-left" style="color:initial">left</span>
     <li><span class="dfn-paneled" id="term-for-propdef-right" style="color:initial">right</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-sizing-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-inner-size" style="color:initial">inner size</span>
     <li><span class="dfn-paneled" id="term-for-intrinsic-size-contribution" style="color:initial">intrinsic size contribution</span>
     <li><span class="dfn-paneled" id="term-for-intrinsic-sizing" style="color:initial">intrinsic sizing</span>
     <li><span class="dfn-paneled" id="term-for-max-content" style="color:initial">max-content size</span>
     <li><span class="dfn-paneled" id="term-for-min-content" style="color:initial">min-content size</span>
    </ul>
   <li>
    <a data-link-type="biblio">[CSS-VALUES-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-length-value" style="color:initial">&lt;length></span>
     <li><span class="dfn-paneled" id="term-for-number-value" style="color:initial">&lt;number></span>
     <li><span class="dfn-paneled" id="term-for-percentage-value" style="color:initial">&lt;percentage></span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-values-4]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-comb-all" style="color:initial">&amp;&amp;</span>
     <li><span class="dfn-paneled" id="term-for-typedef-length-percentage" style="color:initial">&lt;length-percentage></span>
     <li><span class="dfn-paneled" id="term-for-mult-opt" style="color:initial">?</span>
     <li><span class="dfn-paneled" id="term-for-css-wide-keywords" style="color:initial">css-wide keywords</span>
     <li><span class="dfn-paneled" id="term-for-comb-one" style="color:initial">|</span>
     <li><span class="dfn-paneled" id="term-for-comb-any" style="color:initial">||</span>
    </ul>
   <li>
    <a data-link-type="biblio">[CSS-WRITING-MODES-3]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-propdef-direction" style="color:initial">direction</span>
     <li><span class="dfn-paneled" id="term-for-end" style="color:initial">end</span>
     <li><span class="dfn-paneled" id="term-for-start" style="color:initial">start</span>
     <li><span class="dfn-paneled" id="term-for-propdef-unicode-bidi" style="color:initial">unicode-bidi</span>
    </ul>
   <li>
    <a data-link-type="biblio">[css-writing-modes-4]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-bidi-paragraph" style="color:initial">bidi paragraph</span>
     <li><span class="dfn-paneled" id="term-for-bidi-isolate" style="color:initial">bidi-isolate</span>
     <li><span class="dfn-paneled" id="term-for-inline-base-direction" style="color:initial">inline base direction</span>
     <li><span class="dfn-paneled" id="term-for-inline-axis" style="color:initial">inline-axis</span>
     <li><span class="dfn-paneled" id="term-for-logical-width" style="color:initial">logical width</span>
     <li><span class="dfn-paneled" id="term-for-propdef-text-orientation" style="color:initial">text-orientation</span>
     <li><span class="dfn-paneled" id="term-for-valdef-text-orientation-upright" style="color:initial">upright</span>
    </ul>
   <li>
    <a data-link-type="biblio">[cssom-1]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-resolved-value" style="color:initial">resolved value</span>
    </ul>
   <li>
    <a data-link-type="biblio">[HTML]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-the-wbr-element" style="color:initial">wbr</span>
    </ul>
   <li>
    <a data-link-type="biblio">[selectors-4]</a> defines the following terms:
    <ul>
     <li><span class="dfn-paneled" id="term-for-document-language" style="color:initial">document language</span>
    </ul>
  </ul>
  <h2 class="no-num no-ref heading settled" id="references"><span class="content">References</span><a class="self-link" href="#references"></a></h2>
  <h3 class="no-num no-ref heading settled" id="normative"><span class="content">Normative References</span><a class="self-link" href="#normative"></a></h3>
  <dl>
   <dt id="biblio-css-backgrounds-3">[CSS-BACKGROUNDS-3]
   <dd>Bert Bos; Elika Etemad; Brad Kemper. <a href="https://www.w3.org/TR/css-backgrounds-3/">CSS Backgrounds and Borders Module Level 3</a>. 17 October 2017. CR. URL: <a href="https://www.w3.org/TR/css-backgrounds-3/">https://www.w3.org/TR/css-backgrounds-3/</a>
   <dt id="biblio-css-box-3">[CSS-BOX-3]
   <dd>Elika Etemad. <a href="https://www.w3.org/TR/css-box-3/">CSS Box Model Module Level 3</a>. 18 December 2018. WD. URL: <a href="https://www.w3.org/TR/css-box-3/">https://www.w3.org/TR/css-box-3/</a>
   <dt id="biblio-css-cascade-4">[CSS-CASCADE-4]
   <dd>Elika Etemad; Tab Atkins Jr.. <a href="https://www.w3.org/TR/css-cascade-4/">CSS Cascading and Inheritance Level 4</a>. 28 August 2018. CR. URL: <a href="https://www.w3.org/TR/css-cascade-4/">https://www.w3.org/TR/css-cascade-4/</a>
   <dt id="biblio-css-display-3">[CSS-DISPLAY-3]
   <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>. 28 August 2018. CR. URL: <a href="https://www.w3.org/TR/css-display-3/">https://www.w3.org/TR/css-display-3/</a>
   <dt id="biblio-css-fonts-3">[CSS-FONTS-3]
   <dd>John Daggett; Myles Maxfield; Chris Lilley. <a href="https://www.w3.org/TR/css-fonts-3/">CSS Fonts Module Level 3</a>. 20 September 2018. REC. URL: <a href="https://www.w3.org/TR/css-fonts-3/">https://www.w3.org/TR/css-fonts-3/</a>
   <dt id="biblio-css-fonts-4">[CSS-FONTS-4]
   <dd>John Daggett; Myles Maxfield; Chris Lilley. <a href="https://www.w3.org/TR/css-fonts-4/">CSS Fonts Module Level 4</a>. 20 September 2018. WD. URL: <a href="https://www.w3.org/TR/css-fonts-4/">https://www.w3.org/TR/css-fonts-4/</a>
   <dt id="biblio-css-inline-3">[CSS-INLINE-3]
   <dd>Dave Cramer; Elika Etemad; Steve Zilles. <a href="https://www.w3.org/TR/css-inline-3/">CSS Inline Layout Module Level 3</a>. 8 August 2018. WD. URL: <a href="https://www.w3.org/TR/css-inline-3/">https://www.w3.org/TR/css-inline-3/</a>
   <dt id="biblio-css-overflow-3">[CSS-OVERFLOW-3]
   <dd>David Baron; Elika Etemad; Florian Rivoal. <a href="https://www.w3.org/TR/css-overflow-3/">CSS Overflow Module Level 3</a>. 31 July 2018. WD. URL: <a href="https://www.w3.org/TR/css-overflow-3/">https://www.w3.org/TR/css-overflow-3/</a>
   <dt id="biblio-css-position-3">[CSS-POSITION-3]
   <dd>Rossen Atanassov; Arron Eicholz. <a href="https://www.w3.org/TR/css-position-3/">CSS Positioned Layout Module Level 3</a>. 17 May 2016. WD. URL: <a href="https://www.w3.org/TR/css-position-3/">https://www.w3.org/TR/css-position-3/</a>
   <dt id="biblio-css-ruby-1">[CSS-RUBY-1]
   <dd>Elika Etemad; Koji Ishii. <a href="https://www.w3.org/TR/css-ruby-1/">CSS Ruby Layout Module Level 1</a>. 5 August 2014. WD. URL: <a href="https://www.w3.org/TR/css-ruby-1/">https://www.w3.org/TR/css-ruby-1/</a>
   <dt id="biblio-css-sizing-3">[CSS-SIZING-3]
   <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-sizing-3/">CSS Intrinsic &amp; Extrinsic Sizing Module Level 3</a>. 22 May 2019. WD. URL: <a href="https://www.w3.org/TR/css-sizing-3/">https://www.w3.org/TR/css-sizing-3/</a>
   <dt id="biblio-css-values-3">[CSS-VALUES-3]
   <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-values-3/">CSS Values and Units Module Level 3</a>. 31 January 2019. CR. URL: <a href="https://www.w3.org/TR/css-values-3/">https://www.w3.org/TR/css-values-3/</a>
   <dt id="biblio-css-values-4">[CSS-VALUES-4]
   <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-values-4/">CSS Values and Units Module Level 4</a>. 31 January 2019. WD. URL: <a href="https://www.w3.org/TR/css-values-4/">https://www.w3.org/TR/css-values-4/</a>
   <dt id="biblio-css-writing-modes-3">[CSS-WRITING-MODES-3]
   <dd>Elika Etemad; Koji Ishii. <a href="https://www.w3.org/TR/css-writing-modes-3/">CSS Writing Modes Level 3</a>. 24 May 2018. CR. URL: <a href="https://www.w3.org/TR/css-writing-modes-3/">https://www.w3.org/TR/css-writing-modes-3/</a>
   <dt id="biblio-css-writing-modes-4">[CSS-WRITING-MODES-4]
   <dd>Elika Etemad; Koji Ishii. <a href="https://www.w3.org/TR/css-writing-modes-4/">CSS Writing Modes Level 4</a>. 24 May 2018. CR. URL: <a href="https://www.w3.org/TR/css-writing-modes-4/">https://www.w3.org/TR/css-writing-modes-4/</a>
   <dt id="biblio-css2">[CSS2]
   <dd>Bert Bos; et al. <a href="https://www.w3.org/TR/CSS2/">Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. REC. URL: <a href="https://www.w3.org/TR/CSS2/">https://www.w3.org/TR/CSS2/</a>
   <dt id="biblio-cssom-1">[CSSOM-1]
   <dd>Simon Pieters; Glenn Adams. <a href="https://www.w3.org/TR/cssom-1/">CSS Object Model (CSSOM)</a>. 17 March 2016. WD. URL: <a href="https://www.w3.org/TR/cssom-1/">https://www.w3.org/TR/cssom-1/</a>
   <dt id="biblio-rfc2119">[RFC2119]
   <dd>S. Bradner. <a href="https://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>. March 1997. Best Current Practice. URL: <a href="https://tools.ietf.org/html/rfc2119">https://tools.ietf.org/html/rfc2119</a>
   <dt id="biblio-selectors-4">[SELECTORS-4]
   <dd>Elika Etemad; Tab Atkins Jr.. <a href="https://www.w3.org/TR/selectors-4/">Selectors Level 4</a>. 21 November 2018. WD. URL: <a href="https://www.w3.org/TR/selectors-4/">https://www.w3.org/TR/selectors-4/</a>
   <dt id="biblio-uax11">[UAX11]
   <dd>Ken Lunde 小林劍󠄁. <a href="https://www.unicode.org/reports/tr11/tr11-36.html">East Asian Width</a>. 25 January 2019. Unicode Standard Annex #11. URL: <a href="https://www.unicode.org/reports/tr11/tr11-36.html">https://www.unicode.org/reports/tr11/tr11-36.html</a>
   <dt id="biblio-uax14">[UAX14]
   <dd>Andy Heninger. <a href="https://www.unicode.org/reports/tr14/tr14-43.html">Unicode Line Breaking Algorithm</a>. 15 February 2019. Unicode Standard Annex #14. URL: <a href="https://www.unicode.org/reports/tr14/tr14-43.html">https://www.unicode.org/reports/tr14/tr14-43.html</a>
   <dt id="biblio-uax24">[UAX24]
   <dd>Ken Whistler. <a href="https://www.unicode.org/reports/tr24/tr24-29.html">Unicode Script Property</a>. 6 February 2019. Unicode Standard Annex #24. URL: <a href="https://www.unicode.org/reports/tr24/tr24-29.html">https://www.unicode.org/reports/tr24/tr24-29.html</a>
   <dt id="biblio-uax29">[UAX29]
   <dd>Mark Davis. <a href="https://www.unicode.org/reports/tr29/tr29-35.html">Unicode Text Segmentation</a>. 15 February 2019. Unicode Standard Annex #29. URL: <a href="https://www.unicode.org/reports/tr29/tr29-35.html">https://www.unicode.org/reports/tr29/tr29-35.html</a>
   <dt id="biblio-uax44">[UAX44]
   <dd>Ken Whistler; Laurențiu Iancu. <a href="https://www.unicode.org/reports/tr44/tr44-24.html">Unicode Character Database</a>. 27 February 2019. Unicode Standard Annex #44. URL: <a href="https://www.unicode.org/reports/tr44/tr44-24.html">https://www.unicode.org/reports/tr44/tr44-24.html</a>
   <dt id="biblio-uax9">[UAX9]
   <dd>Mark Davis; Aharon Lanin; Andrew Glass. <a href="https://www.unicode.org/reports/tr9/tr9-41.html">Unicode Bidirectional Algorithm</a>. 4 February 2019. Unicode Standard Annex #9. URL: <a href="https://www.unicode.org/reports/tr9/tr9-41.html">https://www.unicode.org/reports/tr9/tr9-41.html</a>
   <dt id="biblio-unicode">[UNICODE]
   <dd><a href="https://www.unicode.org/versions/latest/">The Unicode Standard</a>. URL: <a href="https://www.unicode.org/versions/latest/">https://www.unicode.org/versions/latest/</a>
   <dt id="biblio-utr50">[UTR50]
   <dd>Koji Ishii 石井宏治; Ken Lunde 小林劍󠄁. <a href="https://www.unicode.org/reports/tr50/tr50-22.html">Unicode Vertical Text Layout</a>. 4 February 2019. Unicode Standard Annex #50. URL: <a href="https://www.unicode.org/reports/tr50/tr50-22.html">https://www.unicode.org/reports/tr50/tr50-22.html</a>
  </dl>
  <h3 class="no-num no-ref heading settled" id="informative"><span class="content">Informative References</span><a class="self-link" href="#informative"></a></h3>
  <dl>
   <dt id="biblio-bcp47">[BCP47]
   <dd>A. Phillips; M. Davis. <a href="https://tools.ietf.org/html/bcp47">Tags for Identifying Languages</a>. September 2009. IETF Best Current Practice. URL: <a href="https://tools.ietf.org/html/bcp47">https://tools.ietf.org/html/bcp47</a>
   <dt id="biblio-clreq">[CLREQ]
   <dd>Bobby Tung; et al. <a href="https://www.w3.org/TR/clreq/">Requirements for Chinese Text Layout 中文排版需求</a>. 28 May 2019. WD. URL: <a href="https://www.w3.org/TR/clreq/">https://www.w3.org/TR/clreq/</a>
   <dt id="biblio-css-counter-styles-3">[CSS-COUNTER-STYLES-3]
   <dd>Tab Atkins Jr.. <a href="https://www.w3.org/TR/css-counter-styles-3/">CSS Counter Styles Level 3</a>. 14 December 2017. CR. URL: <a href="https://www.w3.org/TR/css-counter-styles-3/">https://www.w3.org/TR/css-counter-styles-3/</a>
   <dt id="biblio-css-text-decor-3">[CSS-TEXT-DECOR-3]
   <dd>Elika Etemad; Koji Ishii. <a href="https://www.w3.org/TR/css-text-decor-3/">CSS Text Decoration Module Level 3</a>. 3 July 2018. CR. URL: <a href="https://www.w3.org/TR/css-text-decor-3/">https://www.w3.org/TR/css-text-decor-3/</a>
   <dt id="biblio-html">[HTML]
   <dd>Anne van Kesteren; et al. <a href="https://html.spec.whatwg.org/multipage/">HTML Standard</a>. Living Standard. URL: <a href="https://html.spec.whatwg.org/multipage/">https://html.spec.whatwg.org/multipage/</a>
   <dt id="biblio-iso15924">[ISO15924]
   <dd><cite>Code for the representation of names of scripts.</cite> International Organization for Standardization. 1998. ISO 15924:1998. Draft International Standard
   <dt id="biblio-jis4051">[JIS4051]
   <dd><cite>Formatting rules for Japanese documents (『日本語文書の組版方法』).</cite> Japanese Standards Association. 2004. JIS X 4051:2004. In Japanese
   <dt id="biblio-jlreq">[JLREQ]
   <dd>Yasuhiro Anan; et al. <a href="https://www.w3.org/TR/jlreq/">Requirements for Japanese Text Layout</a>. 3 April 2012. NOTE. URL: <a href="https://www.w3.org/TR/jlreq/">https://www.w3.org/TR/jlreq/</a>
   <dt id="biblio-justify">[JUSTIFY]
   <dd>Elika Etemad; Richard Ishida. <a href="https://www.w3.org/International/articles/typography/justification">Approches to Full Justification</a>. URL: <a href="https://www.w3.org/International/articles/typography/justification">https://www.w3.org/International/articles/typography/justification</a>
   <dt id="biblio-typography">[TYPOGRAPHY]
   <dd>Richard Ishida. <a href="https://www.w3.org/TR/typography/">International text layout and typography index</a>. 20 May 2019. WD. URL: <a href="https://www.w3.org/TR/typography/">https://www.w3.org/TR/typography/</a>
   <dt id="biblio-xml10">[XML10]
   <dd>Tim Bray; et al. <a href="https://www.w3.org/TR/xml/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a>. 26 November 2008. REC. URL: <a href="https://www.w3.org/TR/xml/">https://www.w3.org/TR/xml/</a>
   <dt id="biblio-zhmark">[ZHMARK]
   <dd><cite>标点符号用法 (Punctuation Mark Usage).</cite> 1995. 中华人民共和国国家标准 
  </dl>
  <h2 class="no-num no-ref heading settled" id="property-index"><span class="content">Property Index</span><a class="self-link" href="#property-index"></a></h2>
  <div class="big-element-wrapper">
   <table class="index">
    <thead>
     <tr>
      <th scope="col">Name
      <th scope="col">Value
      <th scope="col">Initial
      <th scope="col">Applies to
      <th scope="col">Inh.
      <th scope="col">%ages
      <th scope="col">Anim­ation type
      <th scope="col">Canonical order
      <th scope="col">Com­puted value
    <tbody>
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-hanging-punctuation" id="ref-for-propdef-hanging-punctuation⑤">hanging-punctuation</a>
      <td>none | [ first || [ force-end | allow-end ] || last ]
      <td>none
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>per grammar
      <td>specified keyword(s)
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-hyphens" id="ref-for-propdef-hyphens⑤">hyphens</a>
      <td>none | manual | auto
      <td>manual
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-letter-spacing" id="ref-for-propdef-letter-spacing①⑨">letter-spacing</a>
      <td>normal | &lt;length>
      <td>normal
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>by computed value type
      <td>n/a
      <td>an absolute length
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-line-break" id="ref-for-propdef-line-break①③">line-break</a>
      <td>auto | loose | normal | strict | anywhere
      <td>auto
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-overflow-wrap" id="ref-for-propdef-overflow-wrap①①">overflow-wrap</a>
      <td>normal | break-word | anywhere
      <td>normal
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-tab-size" id="ref-for-propdef-tab-size④">tab-size</a>
      <td>&lt;number> | &lt;length>
      <td>8
      <td>block containers
      <td>yes
      <td>n/a
      <td>by computed value type
      <td>n/a
      <td>the specified number or absolute length
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-align" id="ref-for-propdef-text-align①①">text-align</a>
      <td>start | end | left | right | center | justify | match-parent | justify-all
      <td>start
      <td>block containers
      <td>yes
      <td>see individual properties
      <td>discrete
      <td>n/a
      <td>see individual properties
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-align-all" id="ref-for-propdef-text-align-all⑨">text-align-all</a>
      <td>start | end | left | right | center | justify | match-parent
      <td>start
      <td>block containers
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>keyword as specified, except for match-parent which computes as defined above
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-align-last" id="ref-for-propdef-text-align-last①②">text-align-last</a>
      <td>auto | start | end | left | right | center | justify | match-parent
      <td>auto
      <td>block containers
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-indent" id="ref-for-propdef-text-indent⑦">text-indent</a>
      <td>[ &lt;length-percentage> ] &amp;&amp; hanging? &amp;&amp; each-line?
      <td>0
      <td>block containers
      <td>yes
      <td>refers to block container’s own inline-axis inner size
      <td>by computed value type
      <td>per grammar
      <td>computed &lt;length-percentage> value, plus any specified keywords
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-justify" id="ref-for-propdef-text-justify①⓪">text-justify</a>
      <td>auto | none | inter-word | inter-character
      <td>auto
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-text-transform" id="ref-for-propdef-text-transform⑥">text-transform</a>
      <td>none | [capitalize | uppercase | lowercase ] || full-width || full-size-kana
      <td>none
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-white-space" id="ref-for-propdef-white-space①⑨">white-space</a>
      <td>normal | pre | nowrap | pre-wrap | break-spaces | pre-line
      <td>normal
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-word-break" id="ref-for-propdef-word-break②⓪">word-break</a>
      <td>normal | keep-all | break-all | break-word
      <td>normal
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-word-spacing" id="ref-for-propdef-word-spacing①①">word-spacing</a>
      <td>normal | &lt;length>
      <td>normal
      <td>inline boxes
      <td>yes
      <td>N/A
      <td>by computed value type
      <td>n/a
      <td>an absolute length
     <tr>
      <th scope="row"><a class="css" data-link-type="property" href="#propdef-word-wrap" id="ref-for-propdef-word-wrap②">word-wrap</a>
      <td>normal | break-word | anywhere
      <td>normal
      <td>inline boxes
      <td>yes
      <td>n/a
      <td>discrete
      <td>n/a
      <td>specified keyword
   </table>
  </div>
  <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content">Issues Index</span><a class="self-link" href="#issues-index"></a></h2>
  <div style="counter-reset:issue">
   <div class="feedback issue">Comments on how well these rules would work in practice would
        be very much appreciated, particularly from people who work with
        Thai and similar scripts.
        Note that browser implementations do not currently follow these rules consistently
        (although IE does in some cases transform the break,
        and Firefox follows the first two bullet points).<a href="#issue-ac00652c"> ↵ </a></div>
   <div class="feedback issue">Any guidance for additional appropriate references
      would be much appreciated. <a href="#issue-b12cecc6"> ↵ </a></div>
   <div class="feedback issue"> The rules here are following guidelines from <a href="https://www.w3.org/TR/klreq/#line-break">KLREQ</a> for Korean,
      which don’t allow the Chinese/Japanese-specific breaks.
      However, the resulting behavior could use some review and feedback to make sure they are correct,
      particularly when “word basis” breaking is used (<a class="css" data-link-type="propdesc" href="#propdef-word-break">word-break: keep-all</a>) in Korean. <a href="#issue-25a7af3b"> ↵ </a></div>
   <div class="feedback issue">If you find any issues, recommendations to add, or corrections,
    please send the information to <a href="mailto:www-style@w3.org">www-style@w3.org</a> with <kbd>[css-text]</kbd> in the subject line.<a href="#issue-da88b7c6"> ↵ </a></div>
   <div class="issue">Should block and cluster scripts be merged?
  They have different tolerances for space-justification vs inter-character justification,
  but both admit both. <a href="#issue-f70a210b"> ↵ </a></div>
   <div class="issue"> THIS CHANGES LIST IS WAY INCOMPLETE PLEASE SEE <a href="https://drafts.csswg.org/css-text-3/issues-lc-2013">Disposition of Comments</a>.<a href="#issue-3acca28e"> ↵ </a></div>
  </div>
  <aside class="dfn-panel" data-for="content-language">
   <b><a href="#content-language">#content-language</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-content-language">1.3. 
Languages and Typesetting</a> <a href="#ref-for-content-language①">(2)</a> <a href="#ref-for-content-language②">(3)</a> <a href="#ref-for-content-language③">(4)</a> <a href="#ref-for-content-language④">(5)</a> <a href="#ref-for-content-language⑤">(6)</a> <a href="#ref-for-content-language⑥">(7)</a>
    <li><a href="#ref-for-content-language⑦">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-content-language⑧">(2)</a>
    <li><a href="#ref-for-content-language⑨">5.1. 
Line Breaking Details</a>
    <li><a href="#ref-for-content-language①⓪">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-content-language①①">(2)</a>
    <li><a href="#ref-for-content-language①②">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-content-language①③">6.4.5. 
Minimum Requirements for auto Justification</a>
    <li><a href="#ref-for-content-language①④">Appendix F.
Tagging Content by Writing System</a> <a href="#ref-for-content-language①⑤">(2)</a> <a href="#ref-for-content-language①⑥">(3)</a> <a href="#ref-for-content-language①⑦">(4)</a> <a href="#ref-for-content-language①⑧">(5)</a> <a href="#ref-for-content-language①⑨">(6)</a> <a href="#ref-for-content-language②⓪">(7)</a> <a href="#ref-for-content-language②①">(8)</a> <a href="#ref-for-content-language②②">(9)</a> <a href="#ref-for-content-language②③">(10)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="content-writing-system">
   <b><a href="#content-writing-system">#content-writing-system</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-content-writing-system">1.3. 
Languages and Typesetting</a> <a href="#ref-for-content-writing-system①">(2)</a>
    <li><a href="#ref-for-content-writing-system②">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-content-writing-system③">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-content-writing-system④">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-content-writing-system⑤">(2)</a>
    <li><a href="#ref-for-content-writing-system⑥"> Appendix D: Scripts and Spacing</a>
    <li><a href="#ref-for-content-writing-system⑦">Appendix F.
Tagging Content by Writing System</a> <a href="#ref-for-content-writing-system⑧">(2)</a> <a href="#ref-for-content-writing-system⑨">(3)</a> <a href="#ref-for-content-writing-system①⓪">(4)</a> <a href="#ref-for-content-writing-system①①">(5)</a> <a href="#ref-for-content-writing-system①②">(6)</a> <a href="#ref-for-content-writing-system①③">(7)</a> <a href="#ref-for-content-writing-system①④">(8)</a> <a href="#ref-for-content-writing-system①⑤">(9)</a> <a href="#ref-for-content-writing-system①⑥">(10)</a> <a href="#ref-for-content-writing-system①⑦">(11)</a> <a href="#ref-for-content-writing-system①⑧">(12)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="character">
   <b><a href="#character">#character</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-character">1.4. 
Characters and Letters</a> <a href="#ref-for-character①">(2)</a> <a href="#ref-for-character②">(3)</a> <a href="#ref-for-character③">(4)</a> <a href="#ref-for-character④">(5)</a> <a href="#ref-for-character⑤">(6)</a> <a href="#ref-for-character⑥">(7)</a> <a href="#ref-for-character⑦">(8)</a> <a href="#ref-for-character⑧">(9)</a> <a href="#ref-for-character⑨">(10)</a> <a href="#ref-for-character①⓪">(11)</a>
    <li><a href="#ref-for-character①①">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="typographic-character-unit">
   <b><a href="#typographic-character-unit">#typographic-character-unit</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-typographic-character-unit">1.4. 
Characters and Letters</a> <a href="#ref-for-typographic-character-unit①">(2)</a> <a href="#ref-for-typographic-character-unit②">(3)</a> <a href="#ref-for-typographic-character-unit③">(4)</a> <a href="#ref-for-typographic-character-unit④">(5)</a> <a href="#ref-for-typographic-character-unit⑤">(6)</a> <a href="#ref-for-typographic-character-unit⑥">(7)</a> <a href="#ref-for-typographic-character-unit⑦">(8)</a> <a href="#ref-for-typographic-character-unit⑧">(9)</a> <a href="#ref-for-typographic-character-unit⑨">(10)</a> <a href="#ref-for-typographic-character-unit①⓪">(11)</a> <a href="#ref-for-typographic-character-unit①①">(12)</a>
    <li><a href="#ref-for-typographic-character-unit①②">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-typographic-character-unit①③">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-typographic-character-unit①④">(2)</a> <a href="#ref-for-typographic-character-unit①⑤">(3)</a>
    <li><a href="#ref-for-typographic-character-unit①⑥">5.3. 
    Line Breaking Strictness: the line-break property</a>
    <li><a href="#ref-for-typographic-character-unit①⑦">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-typographic-character-unit①⑧">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-typographic-character-unit①⑨">(2)</a> <a href="#ref-for-typographic-character-unit②⓪">(3)</a> <a href="#ref-for-typographic-character-unit②①">(4)</a> <a href="#ref-for-typographic-character-unit②②">(5)</a> <a href="#ref-for-typographic-character-unit②③">(6)</a> <a href="#ref-for-typographic-character-unit②④">(7)</a>
    <li><a href="#ref-for-typographic-character-unit②⑤">6.4.2. 
Handling Symbols and Punctuation</a>
    <li><a href="#ref-for-typographic-character-unit②⑥">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-typographic-character-unit②⑦">(2)</a> <a href="#ref-for-typographic-character-unit②⑧">(3)</a> <a href="#ref-for-typographic-character-unit②⑨">(4)</a>
    <li><a href="#ref-for-typographic-character-unit③⓪">7. 
  Spacing</a>
    <li><a href="#ref-for-typographic-character-unit③①">7.1. 
Word Spacing: the word-spacing property</a>
    <li><a href="#ref-for-typographic-character-unit③②">7.2. 
    Tracking: the letter-spacing property</a> <a href="#ref-for-typographic-character-unit③③">(2)</a> <a href="#ref-for-typographic-character-unit③④">(3)</a> <a href="#ref-for-typographic-character-unit③⑤">(4)</a> <a href="#ref-for-typographic-character-unit③⑥">(5)</a> <a href="#ref-for-typographic-character-unit③⑦">(6)</a> <a href="#ref-for-typographic-character-unit③⑧">(7)</a> <a href="#ref-for-typographic-character-unit③⑨">(8)</a>
    <li><a href="#ref-for-typographic-character-unit④⓪">7.3. 
  Shaping Across Element Boundaries</a> <a href="#ref-for-typographic-character-unit④①">(2)</a>
    <li><a href="#ref-for-typographic-character-unit④②">Appendix E.
Characters and Properties</a> <a href="#ref-for-typographic-character-unit④③">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="grapheme-cluster">
   <b><a href="#grapheme-cluster">#grapheme-cluster</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-grapheme-cluster">1.4. 
Characters and Letters</a> <a href="#ref-for-grapheme-cluster①">(2)</a> <a href="#ref-for-grapheme-cluster②">(3)</a> <a href="#ref-for-grapheme-cluster③">(4)</a>
    <li><a href="#ref-for-grapheme-cluster④">Appendix E.
Characters and Properties</a> <a href="#ref-for-grapheme-cluster⑤">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="typographic-letter-unit">
   <b><a href="#typographic-letter-unit">#typographic-letter-unit</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-typographic-letter-unit">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-typographic-letter-unit①">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-typographic-letter-unit②">5.1. 
Line Breaking Details</a>
    <li><a href="#ref-for-typographic-letter-unit③">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-typographic-letter-unit④">(2)</a>
    <li><a href="#ref-for-typographic-letter-unit⑤">6.4. 
    Justification Method: the text-justify property</a> <a href="#ref-for-typographic-letter-unit⑥">(2)</a>
    <li><a href="#ref-for-typographic-letter-unit⑦">6.4.2. 
Handling Symbols and Punctuation</a> <a href="#ref-for-typographic-letter-unit⑧">(2)</a>
    <li><a href="#ref-for-typographic-letter-unit⑨">6.4.4. 
Cursive Scripts</a> <a href="#ref-for-typographic-letter-unit①⓪">(2)</a> <a href="#ref-for-typographic-letter-unit①①">(3)</a>
    <li><a href="#ref-for-typographic-letter-unit①②">7.2.1. 
Cursive Scripts</a> <a href="#ref-for-typographic-letter-unit①③">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="letter">
   <b><a href="#letter">#letter</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-letter">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-letter①">(2)</a>
    <li><a href="#ref-for-letter②">5.2. 
    Breaking Rules for Letters: the word-break property</a>
    <li><a href="#ref-for-letter③">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-letter④">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-transform">
   <b><a href="#propdef-text-transform">#propdef-text-transform</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-transform②">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-propdef-text-transform③">(2)</a>
    <li><a href="#ref-for-propdef-text-transform④"> Appendix B: Conversion to Plaintext</a>
    <li><a href="#ref-for-propdef-text-transform⑤"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-transform-capitalize">
   <b><a href="#valdef-text-transform-capitalize">#valdef-text-transform-capitalize</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-transform-capitalize">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-valdef-text-transform-capitalize①">(2)</a> <a href="#ref-for-valdef-text-transform-capitalize②">(3)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-transform-lowercase">
   <b><a href="#valdef-text-transform-lowercase">#valdef-text-transform-lowercase</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-transform-lowercase">2.1. 
    Case Transforms: the text-transform property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-transform-full-width">
   <b><a href="#valdef-text-transform-full-width">#valdef-text-transform-full-width</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-transform-full-width①">2.1. 
    Case Transforms: the text-transform property</a> <a href="#ref-for-valdef-text-transform-full-width②">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-transform-full-size-kana">
   <b><a href="#valdef-text-transform-full-size-kana">#valdef-text-transform-full-size-kana</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-transform-full-size-kana①">2.1. 
    Case Transforms: the text-transform property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-white-space">
   <b><a href="#propdef-white-space">#propdef-white-space</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-white-space">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-propdef-white-space①">(2)</a>
    <li><a href="#ref-for-propdef-white-space②">4. 
  White Space Processing Details</a> <a href="#ref-for-propdef-white-space③">(2)</a>
    <li><a href="#ref-for-propdef-white-space④">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-propdef-white-space⑤">(2)</a> <a href="#ref-for-propdef-white-space⑥">(3)</a> <a href="#ref-for-propdef-white-space⑦">(4)</a>
    <li><a href="#ref-for-propdef-white-space⑧">4.1.2. 
      Segment Break Transformation Rules</a> <a href="#ref-for-propdef-white-space⑨">(2)</a>
    <li><a href="#ref-for-propdef-white-space①⓪">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-propdef-white-space①①">(2)</a> <a href="#ref-for-propdef-white-space①②">(3)</a>
    <li><a href="#ref-for-propdef-white-space①③">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-propdef-white-space①④">5.1. 
Line Breaking Details</a> <a href="#ref-for-propdef-white-space①⑤">(2)</a>
    <li><a href="#ref-for-propdef-white-space①⑥">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-propdef-white-space①⑦">(2)</a>
    <li><a href="#ref-for-propdef-white-space①⑧">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-normal">
   <b><a href="#valdef-white-space-normal">#valdef-white-space-normal</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-normal">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-valdef-white-space-normal①">(2)</a> <a href="#ref-for-valdef-white-space-normal②">(3)</a> <a href="#ref-for-valdef-white-space-normal③">(4)</a> <a href="#ref-for-valdef-white-space-normal④">(5)</a>
    <li><a href="#ref-for-valdef-white-space-normal⑤">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-valdef-white-space-normal⑥">(2)</a>
    <li><a href="#ref-for-valdef-white-space-normal⑦">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-valdef-white-space-normal⑧">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-pre">
   <b><a href="#valdef-white-space-pre">#valdef-white-space-pre</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-pre">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-valdef-white-space-pre①">(2)</a> <a href="#ref-for-valdef-white-space-pre②">(3)</a>
    <li><a href="#ref-for-valdef-white-space-pre③">4.1.1. Phase I: Collapsing and Transformation</a>
    <li><a href="#ref-for-valdef-white-space-pre④">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-valdef-white-space-pre⑤">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-nowrap">
   <b><a href="#valdef-white-space-nowrap">#valdef-white-space-nowrap</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-nowrap">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-valdef-white-space-nowrap①">(2)</a>
    <li><a href="#ref-for-valdef-white-space-nowrap②">4.1.1. Phase I: Collapsing and Transformation</a>
    <li><a href="#ref-for-valdef-white-space-nowrap③">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-valdef-white-space-nowrap④">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-pre-wrap">
   <b><a href="#valdef-white-space-pre-wrap">#valdef-white-space-pre-wrap</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-pre-wrap">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-valdef-white-space-pre-wrap①">(2)</a>
    <li><a href="#ref-for-valdef-white-space-pre-wrap②">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-valdef-white-space-pre-wrap③">(2)</a>
    <li><a href="#ref-for-valdef-white-space-pre-wrap④">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-valdef-white-space-pre-wrap⑤">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-valdef-white-space-pre-wrap⑥">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-break-spaces">
   <b><a href="#valdef-white-space-break-spaces">#valdef-white-space-break-spaces</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-break-spaces">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-valdef-white-space-break-spaces①">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-valdef-white-space-break-spaces②">(2)</a>
    <li><a href="#ref-for-valdef-white-space-break-spaces③">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-valdef-white-space-break-spaces④">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-valdef-white-space-break-spaces⑤">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-valdef-white-space-break-spaces⑥">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-white-space-pre-line">
   <b><a href="#valdef-white-space-pre-line">#valdef-white-space-pre-line</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-white-space-pre-line">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-valdef-white-space-pre-line①">4.1.1. Phase I: Collapsing and Transformation</a>
    <li><a href="#ref-for-valdef-white-space-pre-line②">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-valdef-white-space-pre-line③">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-valdef-white-space-pre-line④">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="preserved-white-space">
   <b><a href="#preserved-white-space">#preserved-white-space</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-preserved-white-space">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-preserved-white-space①">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-preserved-white-space②">(2)</a> <a href="#ref-for-preserved-white-space③">(3)</a> <a href="#ref-for-preserved-white-space④">(4)</a>
    <li><a href="#ref-for-preserved-white-space⑤">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-preserved-white-space⑥">(2)</a> <a href="#ref-for-preserved-white-space⑦">(3)</a>
    <li><a href="#ref-for-preserved-white-space⑧">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-preserved-white-space⑨">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-preserved-white-space①⓪">5.1. 
Line Breaking Details</a>
    <li><a href="#ref-for-preserved-white-space①①">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-preserved-white-space①②">(2)</a> <a href="#ref-for-preserved-white-space①③">(3)</a> <a href="#ref-for-preserved-white-space①④">(4)</a> <a href="#ref-for-preserved-white-space①⑤">(5)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="segment-break">
   <b><a href="#segment-break">#segment-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-segment-break">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-segment-break①">(2)</a>
    <li><a href="#ref-for-segment-break②">4. 
  White Space Processing Details</a> <a href="#ref-for-segment-break③">(2)</a>
    <li><a href="#ref-for-segment-break④">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-segment-break⑤">(2)</a>
    <li><a href="#ref-for-segment-break⑥">4.1.2. 
      Segment Break Transformation Rules</a> <a href="#ref-for-segment-break⑦">(2)</a> <a href="#ref-for-segment-break⑧">(3)</a> <a href="#ref-for-segment-break⑨">(4)</a> <a href="#ref-for-segment-break①⓪">(5)</a> <a href="#ref-for-segment-break①①">(6)</a> <a href="#ref-for-segment-break①②">(7)</a> <a href="#ref-for-segment-break①③">(8)</a> <a href="#ref-for-segment-break①④">(9)</a> <a href="#ref-for-segment-break①⑤">(10)</a> <a href="#ref-for-segment-break①⑥">(11)</a> <a href="#ref-for-segment-break①⑦">(12)</a> <a href="#ref-for-segment-break①⑧">(13)</a> <a href="#ref-for-segment-break①⑨">(14)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="white-space">
   <b><a href="#white-space">#white-space</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-white-space">1. 
Introduction</a> <a href="#ref-for-white-space">(2)</a>
    <li><a href="#ref-for-white-space">2.1. 
    Case Transforms: the text-transform property</a>
    <li><a href="#ref-for-white-space①">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-white-space②">(2)</a> <a href="#ref-for-white-space③">(3)</a> <a href="#ref-for-white-space④">(4)</a> <a href="#ref-for-white-space⑤">(5)</a> <a href="#ref-for-white-space⑥">(6)</a> <a href="#ref-for-white-space⑦">(7)</a> <a href="#ref-for-white-space⑧">(8)</a> <a href="#ref-for-white-space⑨">(9)</a> <a href="#ref-for-white-space①⓪">(10)</a> <a href="#ref-for-white-space①①">(11)</a> <a href="#ref-for-white-space①②">(12)</a> <a href="#ref-for-white-space①③">(13)</a> <a href="#ref-for-white-space①④">(14)</a> <a href="#ref-for-white-space①⑤">(15)</a> <a href="#ref-for-white-space①⑥">(16)</a>
    <li><a href="#ref-for-white-space①⑦">4. 
  White Space Processing Details</a> <a href="#ref-for-white-space①⑧">(2)</a> <a href="#ref-for-white-space①⑨">(3)</a> <a href="#ref-for-white-space②⓪">(4)</a>
    <li><a href="#ref-for-white-space②①">4.1. 
    The White Space Processing Rules</a>
    <li><a href="#ref-for-white-space②②">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-white-space②③">(2)</a>
    <li><a href="#ref-for-white-space②④">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-white-space②⑤">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-white-space②⑥">5.2. 
    Breaking Rules for Letters: the word-break property</a>
    <li><a href="#ref-for-white-space②⑦">6.1. 
    Text Alignment: the text-align shorthand</a>
    <li><a href="#ref-for-white-space②⑧"> Appendix B: Conversion to Plaintext</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="spaces">
   <b><a href="#spaces">#spaces</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-spaces">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-spaces①">4. 
  White Space Processing Details</a>
    <li><a href="#ref-for-spaces②">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-spaces③">(2)</a> <a href="#ref-for-spaces④">(3)</a> <a href="#ref-for-spaces⑤">(4)</a> <a href="#ref-for-spaces⑥">(5)</a> <a href="#ref-for-spaces⑦">(6)</a> <a href="#ref-for-spaces⑧">(7)</a> <a href="#ref-for-spaces⑨">(8)</a> <a href="#ref-for-spaces①⓪">(9)</a> <a href="#ref-for-spaces①①">(10)</a> <a href="#ref-for-spaces①②">(11)</a> <a href="#ref-for-spaces①③">(12)</a> <a href="#ref-for-spaces①④">(13)</a> <a href="#ref-for-spaces①⑤">(14)</a> <a href="#ref-for-spaces①⑥">(15)</a>
    <li><a href="#ref-for-spaces①⑦">4.1.2. 
      Segment Break Transformation Rules</a> <a href="#ref-for-spaces①⑧">(2)</a> <a href="#ref-for-spaces①⑨">(3)</a>
    <li><a href="#ref-for-spaces②⓪">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-spaces②①">(2)</a> <a href="#ref-for-spaces②②">(3)</a> <a href="#ref-for-spaces②③">(4)</a> <a href="#ref-for-spaces②④">(5)</a> <a href="#ref-for-spaces②⑤">(6)</a> <a href="#ref-for-spaces②⑥">(7)</a> <a href="#ref-for-spaces②⑦">(8)</a> <a href="#ref-for-spaces②⑧">(9)</a>
    <li><a href="#ref-for-spaces②⑨">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-spaces③⓪">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-spaces③①">(2)</a>
    <li><a href="#ref-for-spaces③②">7.2.1. 
Cursive Scripts</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="tabs">
   <b><a href="#tabs">#tabs</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-tabs">4. 
  White Space Processing Details</a>
    <li><a href="#ref-for-tabs①">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-tabs②">(2)</a> <a href="#ref-for-tabs③">(3)</a> <a href="#ref-for-tabs④">(4)</a>
    <li><a href="#ref-for-tabs⑤">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-tabs⑥">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-tabs⑦">(2)</a> <a href="#ref-for-tabs⑧">(3)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="other-space-separators">
   <b><a href="#other-space-separators">#other-space-separators</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-other-space-separators">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-other-space-separators①">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-other-space-separators②">(2)</a>
    <li><a href="#ref-for-other-space-separators③">5.2. 
    Breaking Rules for Letters: the word-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="collapsible-white-space">
   <b><a href="#collapsible-white-space">#collapsible-white-space</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-collapsible-white-space">4. 
  White Space Processing Details</a>
    <li><a href="#ref-for-collapsible-white-space①">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-collapsible-white-space②">(2)</a> <a href="#ref-for-collapsible-white-space③">(3)</a>
    <li><a href="#ref-for-collapsible-white-space④">4.1.2. 
      Segment Break Transformation Rules</a> <a href="#ref-for-collapsible-white-space⑤">(2)</a>
    <li><a href="#ref-for-collapsible-white-space⑥">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-collapsible-white-space⑦">(2)</a> <a href="#ref-for-collapsible-white-space⑧">(3)</a>
    <li><a href="#ref-for-collapsible-white-space⑨"> Appendix B: Conversion to Plaintext</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="tab-stop">
   <b><a href="#tab-stop">#tab-stop</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-tab-stop">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-tab-stop①">(2)</a>
    <li><a href="#ref-for-tab-stop②">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-tab-size">
   <b><a href="#propdef-tab-size">#propdef-tab-size</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-tab-size①">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-propdef-tab-size②">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-propdef-tab-size③"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="tab-size-dfn">
   <b><a href="#tab-size-dfn">#tab-size-dfn</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-tab-size-dfn">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-tab-size-dfn①">(2)</a> <a href="#ref-for-tab-size-dfn②">(3)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="line-break">
   <b><a href="#line-break">#line-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-line-break">5.1. 
Line Breaking Details</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="forced-line-break">
   <b><a href="#forced-line-break">#forced-line-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-forced-line-break">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-forced-line-break①">(2)</a> <a href="#ref-for-forced-line-break②">(3)</a>
    <li><a href="#ref-for-forced-line-break③">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-forced-line-break④">5.1. 
Line Breaking Details</a>
    <li><a href="#ref-for-forced-line-break⑤">6.3. 
    Last Line Alignment: the text-align-last property</a>
    <li><a href="#ref-for-forced-line-break⑥">8.1. 
    First Line Indentation: the text-indent property</a>
    <li><a href="#ref-for-forced-line-break⑦"> Appendix B: Conversion to Plaintext</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="wrapping">
   <b><a href="#wrapping">#wrapping</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-wrapping">3. 
  White Space and Wrapping: the white-space property</a>
    <li><a href="#ref-for-wrapping①">4.1.1. Phase I: Collapsing and Transformation</a>
    <li><a href="#ref-for-wrapping②">4.1.3. Phase II: Trimming and Positioning</a>
    <li><a href="#ref-for-wrapping③">5.3. 
    Line Breaking Strictness: the line-break property</a>
    <li><a href="#ref-for-wrapping④">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
    <li><a href="#ref-for-wrapping⑤">5.6. 
Shaping Across Intra-word Breaks</a>
    <li><a href="#ref-for-wrapping">Appendix A:
Text Processing Order of Operations</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="soft-wrap-break">
   <b><a href="#soft-wrap-break">#soft-wrap-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-soft-wrap-break">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="soft-wrap-opportunity">
   <b><a href="#soft-wrap-opportunity">#soft-wrap-opportunity</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-soft-wrap-opportunity">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-soft-wrap-opportunity①">(2)</a>
    <li><a href="#ref-for-soft-wrap-opportunity②">4.1.1. Phase I: Collapsing and Transformation</a> <a href="#ref-for-soft-wrap-opportunity③">(2)</a> <a href="#ref-for-soft-wrap-opportunity④">(3)</a>
    <li><a href="#ref-for-soft-wrap-opportunity⑤">5. 
  Line Breaking and Word Boundaries</a> <a href="#ref-for-soft-wrap-opportunity⑥">(2)</a> <a href="#ref-for-soft-wrap-opportunity⑦">(3)</a> <a href="#ref-for-soft-wrap-opportunity⑧">(4)</a> <a href="#ref-for-soft-wrap-opportunity⑨">(5)</a> <a href="#ref-for-soft-wrap-opportunity①⓪">(6)</a>
    <li><a href="#ref-for-soft-wrap-opportunity①①">5.1. 
Line Breaking Details</a> <a href="#ref-for-soft-wrap-opportunity①②">(2)</a> <a href="#ref-for-soft-wrap-opportunity①③">(3)</a> <a href="#ref-for-soft-wrap-opportunity①④">(4)</a> <a href="#ref-for-soft-wrap-opportunity①⑤">(5)</a> <a href="#ref-for-soft-wrap-opportunity①⑥">(6)</a> <a href="#ref-for-soft-wrap-opportunity①⑦">(7)</a>
    <li><a href="#ref-for-soft-wrap-opportunity①⑧">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-soft-wrap-opportunity①⑨">(2)</a> <a href="#ref-for-soft-wrap-opportunity②⓪">(3)</a> <a href="#ref-for-soft-wrap-opportunity②①">(4)</a> <a href="#ref-for-soft-wrap-opportunity②②">(5)</a> <a href="#ref-for-soft-wrap-opportunity②③">(6)</a>
    <li><a href="#ref-for-soft-wrap-opportunity②④">5.3. 
    Line Breaking Strictness: the line-break property</a>
    <li><a href="#ref-for-soft-wrap-opportunity②⑤">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-soft-wrap-opportunity②⑥">(2)</a> <a href="#ref-for-soft-wrap-opportunity②⑦">(3)</a> <a href="#ref-for-soft-wrap-opportunity②⑧">(4)</a>
    <li><a href="#ref-for-soft-wrap-opportunity②⑨">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-soft-wrap-opportunity③⓪">(2)</a>
    <li><a href="#ref-for-soft-wrap-opportunity③①">5.6. 
Shaping Across Intra-word Breaks</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-word-break">
   <b><a href="#propdef-word-break">#propdef-word-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-word-break">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-propdef-word-break①">5.1. 
Line Breaking Details</a> <a href="#ref-for-propdef-word-break②">(2)</a>
    <li><a href="#ref-for-propdef-word-break③">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-propdef-word-break④">(2)</a> <a href="#ref-for-propdef-word-break⑤">(3)</a> <a href="#ref-for-propdef-word-break⑥">(4)</a> <a href="#ref-for-propdef-word-break⑦">(5)</a> <a href="#ref-for-propdef-word-break⑧">(6)</a> <a href="#ref-for-propdef-word-break⑨">(7)</a> <a href="#ref-for-propdef-word-break①⓪">(8)</a> <a href="#ref-for-propdef-word-break①①">(9)</a> <a href="#ref-for-propdef-word-break①②">(10)</a>
    <li><a href="#ref-for-propdef-word-break①③">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-propdef-word-break①④">(2)</a>
    <li><a href="#ref-for-propdef-word-break①⑤">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-propdef-word-break①⑥">(2)</a>
    <li><a href="#ref-for-propdef-word-break①⑦">5.6. 
Shaping Across Intra-word Breaks</a>
    <li><a href="#ref-for-propdef-word-break①⑧"> Changes from the 12 December 2018 Working Draft</a>
    <li><a href="#ref-for-propdef-word-break①⑨"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-word-break-normal">
   <b><a href="#valdef-word-break-normal">#valdef-word-break-normal</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-word-break-normal">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-valdef-word-break-normal①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-word-break-break-all">
   <b><a href="#valdef-word-break-break-all">#valdef-word-break-break-all</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-word-break-break-all">5.2. 
    Breaking Rules for Letters: the word-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-line-break">
   <b><a href="#propdef-line-break">#propdef-line-break</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-line-break①">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-propdef-line-break②">5.1. 
Line Breaking Details</a> <a href="#ref-for-propdef-line-break③">(2)</a> <a href="#ref-for-propdef-line-break④">(3)</a> <a href="#ref-for-propdef-line-break⑤">(4)</a>
    <li><a href="#ref-for-propdef-line-break⑥">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-propdef-line-break⑦">(2)</a> <a href="#ref-for-propdef-line-break⑧">(3)</a>
    <li><a href="#ref-for-propdef-line-break⑨">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-propdef-line-break①⓪">(2)</a>
    <li><a href="#ref-for-propdef-line-break①①">5.6. 
Shaping Across Intra-word Breaks</a>
    <li><a href="#ref-for-propdef-line-break①②"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-line-break-loose">
   <b><a href="#valdef-line-break-loose">#valdef-line-break-loose</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-line-break-loose">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-valdef-line-break-loose①">(2)</a> <a href="#ref-for-valdef-line-break-loose②">(3)</a> <a href="#ref-for-valdef-line-break-loose③">(4)</a> <a href="#ref-for-valdef-line-break-loose④">(5)</a> <a href="#ref-for-valdef-line-break-loose⑤">(6)</a> <a href="#ref-for-valdef-line-break-loose⑥">(7)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-line-break-normal">
   <b><a href="#valdef-line-break-normal">#valdef-line-break-normal</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-line-break-normal">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-valdef-line-break-normal①">(2)</a> <a href="#ref-for-valdef-line-break-normal②">(3)</a> <a href="#ref-for-valdef-line-break-normal③">(4)</a> <a href="#ref-for-valdef-line-break-normal④">(5)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-line-break-strict">
   <b><a href="#valdef-line-break-strict">#valdef-line-break-strict</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-line-break-strict">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-valdef-line-break-strict①">(2)</a> <a href="#ref-for-valdef-line-break-strict②">(3)</a> <a href="#ref-for-valdef-line-break-strict③">(4)</a> <a href="#ref-for-valdef-line-break-strict④">(5)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-line-break-anywhere">
   <b><a href="#valdef-line-break-anywhere">#valdef-line-break-anywhere</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-line-break-anywhere①">5.2. 
    Breaking Rules for Letters: the word-break property</a>
    <li><a href="#ref-for-valdef-line-break-anywhere②">5.3. 
    Line Breaking Strictness: the line-break property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="hyphenate">
   <b><a href="#hyphenate">#hyphenate</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-hyphenate">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-hyphenate①">(2)</a> <a href="#ref-for-hyphenate②">(3)</a>
    <li><a href="#ref-for-hyphenate③">5.6. 
Shaping Across Intra-word Breaks</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="hyphenation-opportunity">
   <b><a href="#hyphenation-opportunity">#hyphenation-opportunity</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-hyphenation-opportunity">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-hyphenation-opportunity①">(2)</a> <a href="#ref-for-hyphenation-opportunity②">(3)</a> <a href="#ref-for-hyphenation-opportunity③">(4)</a> <a href="#ref-for-hyphenation-opportunity④">(5)</a> <a href="#ref-for-hyphenation-opportunity⑤">(6)</a> <a href="#ref-for-hyphenation-opportunity⑥">(7)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-hyphens">
   <b><a href="#propdef-hyphens">#propdef-hyphens</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-hyphens">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-propdef-hyphens①">5.4. 
    Hyphenation: the hyphens property</a> <a href="#ref-for-propdef-hyphens②">(2)</a> <a href="#ref-for-propdef-hyphens③">(3)</a>
    <li><a href="#ref-for-propdef-hyphens④"> Changes from the 12 December 2018 Working Draft</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-overflow-wrap">
   <b><a href="#propdef-overflow-wrap">#propdef-overflow-wrap</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-overflow-wrap">5. 
  Line Breaking and Word Boundaries</a>
    <li><a href="#ref-for-propdef-overflow-wrap①">5.1. 
Line Breaking Details</a> <a href="#ref-for-propdef-overflow-wrap②">(2)</a>
    <li><a href="#ref-for-propdef-overflow-wrap③">5.2. 
    Breaking Rules for Letters: the word-break property</a> <a href="#ref-for-propdef-overflow-wrap④">(2)</a> <a href="#ref-for-propdef-overflow-wrap⑤">(3)</a>
    <li><a href="#ref-for-propdef-overflow-wrap⑥">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-propdef-overflow-wrap⑦">(2)</a>
    <li><a href="#ref-for-propdef-overflow-wrap⑧">5.6. 
Shaping Across Intra-word Breaks</a> <a href="#ref-for-propdef-overflow-wrap⑨">(2)</a>
    <li><a href="#ref-for-propdef-overflow-wrap①⓪"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-word-wrap">
   <b><a href="#propdef-word-wrap">#propdef-word-wrap</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-word-wrap">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-propdef-word-wrap①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-overflow-wrap-anywhere">
   <b><a href="#valdef-overflow-wrap-anywhere">#valdef-overflow-wrap-anywhere</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-overflow-wrap-anywhere">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a> <a href="#ref-for-valdef-overflow-wrap-anywhere①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-overflow-wrap-break-word">
   <b><a href="#valdef-overflow-wrap-break-word">#valdef-overflow-wrap-break-word</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-overflow-wrap-break-word">5.5. 
    Overflow Wrapping: the overflow-wrap/word-wrap property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-align">
   <b><a href="#propdef-text-align">#propdef-text-align</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-align">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-propdef-text-align①">(2)</a>
    <li><a href="#ref-for-propdef-text-align②">6.2. 
    Default Text Alignment: the text-align-all property</a> <a href="#ref-for-propdef-text-align③">(2)</a> <a href="#ref-for-propdef-text-align④">(3)</a>
    <li><a href="#ref-for-propdef-text-align⑤">6.3. 
    Last Line Alignment: the text-align-last property</a>
    <li><a href="#ref-for-propdef-text-align⑥">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-propdef-text-align⑦">8.1. 
    First Line Indentation: the text-indent property</a>
    <li><a href="#ref-for-propdef-text-align⑧">8.3. 
Bidirectionality and Line Boxes</a>
    <li><a href="#ref-for-propdef-text-align⑨"> Changes from the October
  2013 CSS3 Text LCWD</a> <a href="#ref-for-propdef-text-align①⓪">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-start">
   <b><a href="#valdef-text-align-start">#valdef-text-align-start</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-start">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-valdef-text-align-start①">(2)</a>
    <li><a href="#ref-for-valdef-text-align-start②">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-end">
   <b><a href="#valdef-text-align-end">#valdef-text-align-end</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-end">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-center">
   <b><a href="#valdef-text-align-center">#valdef-text-align-center</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-center">6.4.3. 
Unexpandable Text</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-justify">
   <b><a href="#valdef-text-align-justify">#valdef-text-align-justify</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-justify">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-valdef-text-align-justify①">(2)</a>
    <li><a href="#ref-for-valdef-text-align-justify②">6.3. 
    Last Line Alignment: the text-align-last property</a>
    <li><a href="#ref-for-valdef-text-align-justify③">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-valdef-text-align-justify④">6.4.1. 
Expanding and Compressing Text</a>
    <li><a href="#ref-for-valdef-text-align-justify⑤">6.4.3. 
Unexpandable Text</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-justify-all">
   <b><a href="#valdef-text-align-justify-all">#valdef-text-align-justify-all</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-justify-all">6.1. 
    Text Alignment: the text-align shorthand</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-match-parent">
   <b><a href="#valdef-text-align-match-parent">#valdef-text-align-match-parent</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-match-parent">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-valdef-text-align-match-parent①">(2)</a>
    <li><a href="#ref-for-valdef-text-align-match-parent②">6.2. 
    Default Text Alignment: the text-align-all property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-align-all">
   <b><a href="#propdef-text-align-all">#propdef-text-align-all</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-align-all">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-propdef-text-align-all①">(2)</a> <a href="#ref-for-propdef-text-align-all②">(3)</a> <a href="#ref-for-propdef-text-align-all③">(4)</a>
    <li><a href="#ref-for-propdef-text-align-all④">6.2. 
    Default Text Alignment: the text-align-all property</a>
    <li><a href="#ref-for-propdef-text-align-all⑤">6.3. 
    Last Line Alignment: the text-align-last property</a> <a href="#ref-for-propdef-text-align-all⑥">(2)</a>
    <li><a href="#ref-for-propdef-text-align-all⑦">8.3. 
Bidirectionality and Line Boxes</a>
    <li><a href="#ref-for-propdef-text-align-all⑧"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-align-last">
   <b><a href="#propdef-text-align-last">#propdef-text-align-last</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-align-last">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-propdef-text-align-last①">(2)</a> <a href="#ref-for-propdef-text-align-last②">(3)</a> <a href="#ref-for-propdef-text-align-last③">(4)</a> <a href="#ref-for-propdef-text-align-last④">(5)</a>
    <li><a href="#ref-for-propdef-text-align-last⑤">6.2. 
    Default Text Alignment: the text-align-all property</a>
    <li><a href="#ref-for-propdef-text-align-last⑥">6.3. 
    Last Line Alignment: the text-align-last property</a>
    <li><a href="#ref-for-propdef-text-align-last⑦">6.4.3. 
Unexpandable Text</a> <a href="#ref-for-propdef-text-align-last⑧">(2)</a>
    <li><a href="#ref-for-propdef-text-align-last⑨">8.3. 
Bidirectionality and Line Boxes</a>
    <li><a href="#ref-for-propdef-text-align-last①⓪"> Changes from the October
  2013 CSS3 Text LCWD</a> <a href="#ref-for-propdef-text-align-last①①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-align-last-auto">
   <b><a href="#valdef-text-align-last-auto">#valdef-text-align-last-auto</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-align-last-auto">6.1. 
    Text Alignment: the text-align shorthand</a>
    <li><a href="#ref-for-valdef-text-align-last-auto①">6.2. 
    Default Text Alignment: the text-align-all property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-justify">
   <b><a href="#propdef-text-justify">#propdef-text-justify</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-justify①">6.1. 
    Text Alignment: the text-align shorthand</a> <a href="#ref-for-propdef-text-justify②">(2)</a>
    <li><a href="#ref-for-propdef-text-justify③">6.4. 
    Justification Method: the text-justify property</a> <a href="#ref-for-propdef-text-justify④">(2)</a> <a href="#ref-for-propdef-text-justify⑤">(3)</a> <a href="#ref-for-propdef-text-justify⑥">(4)</a> <a href="#ref-for-propdef-text-justify⑦">(5)</a>
    <li><a href="#ref-for-propdef-text-justify⑧">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-propdef-text-justify⑨">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-justify-auto">
   <b><a href="#valdef-text-justify-auto">#valdef-text-justify-auto</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-justify-auto">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-valdef-text-justify-auto①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-justify-inter-word">
   <b><a href="#valdef-text-justify-inter-word">#valdef-text-justify-inter-word</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-justify-inter-word">6.4. 
    Justification Method: the text-justify property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-justify-inter-character">
   <b><a href="#valdef-text-justify-inter-character">#valdef-text-justify-inter-character</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-justify-inter-character">6.4.1. 
Expanding and Compressing Text</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="justification-opportunity">
   <b><a href="#justification-opportunity">#justification-opportunity</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-justification-opportunity">6.1. 
    Text Alignment: the text-align shorthand</a>
    <li><a href="#ref-for-justification-opportunity①">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-justification-opportunity②">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-justification-opportunity③">(2)</a> <a href="#ref-for-justification-opportunity④">(3)</a> <a href="#ref-for-justification-opportunity⑤">(4)</a> <a href="#ref-for-justification-opportunity⑥">(5)</a> <a href="#ref-for-justification-opportunity⑦">(6)</a> <a href="#ref-for-justification-opportunity⑧">(7)</a> <a href="#ref-for-justification-opportunity⑨">(8)</a> <a href="#ref-for-justification-opportunity①⓪">(9)</a>
    <li><a href="#ref-for-justification-opportunity①①">6.4.2. 
Handling Symbols and Punctuation</a> <a href="#ref-for-justification-opportunity①②">(2)</a> <a href="#ref-for-justification-opportunity①③">(3)</a> <a href="#ref-for-justification-opportunity①④">(4)</a>
    <li><a href="#ref-for-justification-opportunity①⑤">6.4.4. 
Cursive Scripts</a> <a href="#ref-for-justification-opportunity①⑥">(2)</a>
    <li><a href="#ref-for-justification-opportunity①⑦">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-justification-opportunity①⑧">(2)</a> <a href="#ref-for-justification-opportunity①⑨">(3)</a>
    <li><a href="#ref-for-justification-opportunity②⓪"> Appendix D: Scripts and Spacing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-word-spacing">
   <b><a href="#propdef-word-spacing">#propdef-word-spacing</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-word-spacing①">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-propdef-word-spacing②">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-propdef-word-spacing③">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-propdef-word-spacing④">(2)</a>
    <li><a href="#ref-for-propdef-word-spacing⑤">7. 
  Spacing</a>
    <li><a href="#ref-for-propdef-word-spacing⑥">7.1. 
Word Spacing: the word-spacing property</a>
    <li><a href="#ref-for-propdef-word-spacing⑦">7.2. 
    Tracking: the letter-spacing property</a>
    <li><a href="#ref-for-propdef-word-spacing⑧">Appendix A:
Text Processing Order of Operations</a>
    <li><a href="#ref-for-propdef-word-spacing⑨"> Changes from the 6 December 2018 Working Draft</a>
    <li><a href="#ref-for-propdef-word-spacing①⓪"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="word-separator">
   <b><a href="#word-separator">#word-separator</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-word-separator">5.1. 
Line Breaking Details</a> <a href="#ref-for-word-separator①">(2)</a> <a href="#ref-for-word-separator②">(3)</a> <a href="#ref-for-word-separator③">(4)</a>
    <li><a href="#ref-for-word-separator④">6.4. 
    Justification Method: the text-justify property</a> <a href="#ref-for-word-separator⑤">(2)</a>
    <li><a href="#ref-for-word-separator⑥">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-word-separator⑦">(2)</a>
    <li><a href="#ref-for-word-separator⑧">6.4.5. 
Minimum Requirements for auto Justification</a>
    <li><a href="#ref-for-word-separator⑨">7. 
  Spacing</a>
    <li><a href="#ref-for-word-separator①⓪">7.1. 
Word Spacing: the word-spacing property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-letter-spacing">
   <b><a href="#propdef-letter-spacing">#propdef-letter-spacing</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-letter-spacing">4.2. 
    Tab Character Size: the tab-size property</a>
    <li><a href="#ref-for-propdef-letter-spacing①">6.4. 
    Justification Method: the text-justify property</a>
    <li><a href="#ref-for-propdef-letter-spacing②">6.4.1. 
Expanding and Compressing Text</a> <a href="#ref-for-propdef-letter-spacing③">(2)</a>
    <li><a href="#ref-for-propdef-letter-spacing④">7. 
  Spacing</a>
    <li><a href="#ref-for-propdef-letter-spacing⑤">7.2. 
    Tracking: the letter-spacing property</a> <a href="#ref-for-propdef-letter-spacing⑥">(2)</a> <a href="#ref-for-propdef-letter-spacing⑦">(3)</a> <a href="#ref-for-propdef-letter-spacing⑧">(4)</a> <a href="#ref-for-propdef-letter-spacing⑨">(5)</a> <a href="#ref-for-propdef-letter-spacing①⓪">(6)</a> <a href="#ref-for-propdef-letter-spacing①①">(7)</a>
    <li><a href="#ref-for-propdef-letter-spacing①②">7.2.1. 
Cursive Scripts</a> <a href="#ref-for-propdef-letter-spacing①③">(2)</a> <a href="#ref-for-propdef-letter-spacing①④">(3)</a> <a href="#ref-for-propdef-letter-spacing①⑤">(4)</a>
    <li><a href="#ref-for-propdef-letter-spacing①⑥">Appendix A:
Text Processing Order of Operations</a>
    <li><a href="#ref-for-propdef-letter-spacing①⑦"> Appendix D: Scripts and Spacing</a>
    <li><a href="#ref-for-propdef-letter-spacing①⑧"> Changes from the October
  2013 CSS3 Text LCWD</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-letter-spacing-normal">
   <b><a href="#valdef-letter-spacing-normal">#valdef-letter-spacing-normal</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-letter-spacing-normal">7.2. 
    Tracking: the letter-spacing property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-text-indent">
   <b><a href="#propdef-text-indent">#propdef-text-indent</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-text-indent">8. 
  Edge Effects</a>
    <li><a href="#ref-for-propdef-text-indent①">8.1. 
    First Line Indentation: the text-indent property</a> <a href="#ref-for-propdef-text-indent②">(2)</a> <a href="#ref-for-propdef-text-indent③">(3)</a> <a href="#ref-for-propdef-text-indent④">(4)</a> <a href="#ref-for-propdef-text-indent⑤">(5)</a>
    <li><a href="#ref-for-propdef-text-indent⑥">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-indent-each-line">
   <b><a href="#valdef-text-indent-each-line">#valdef-text-indent-each-line</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-indent-each-line">8.1. 
    First Line Indentation: the text-indent property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-text-indent-hanging">
   <b><a href="#valdef-text-indent-hanging">#valdef-text-indent-hanging</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-text-indent-hanging">8.1. 
    First Line Indentation: the text-indent property</a> <a href="#ref-for-valdef-text-indent-hanging①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="hang">
   <b><a href="#hang">#hang</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-hang">3. 
  White Space and Wrapping: the white-space property</a> <a href="#ref-for-hang①">(2)</a>
    <li><a href="#ref-for-hang②">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-hang③">(2)</a> <a href="#ref-for-hang④">(3)</a> <a href="#ref-for-hang⑤">(4)</a> <a href="#ref-for-hang⑥">(5)</a> <a href="#ref-for-hang⑦">(6)</a> <a href="#ref-for-hang⑧">(7)</a> <a href="#ref-for-hang⑨">(8)</a>
    <li><a href="#ref-for-hang①⓪">5.3. 
    Line Breaking Strictness: the line-break property</a>
    <li><a href="#ref-for-hang①①">8.2. 
    Hanging Glyphs</a> <a href="#ref-for-hang①②">(2)</a> <a href="#ref-for-hang①③">(3)</a> <a href="#ref-for-hang①④">(4)</a> <a href="#ref-for-hang①⑤">(5)</a> <a href="#ref-for-hang①⑥">(6)</a> <a href="#ref-for-hang①⑦">(7)</a> <a href="#ref-for-hang①⑧">(8)</a>
    <li><a href="#ref-for-hang①⑨">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-hang②⓪">(2)</a> <a href="#ref-for-hang②①">(3)</a> <a href="#ref-for-hang②②">(4)</a> <a href="#ref-for-hang②③">(5)</a> <a href="#ref-for-hang②④">(6)</a> <a href="#ref-for-hang②⑤">(7)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="conditionally-hang">
   <b><a href="#conditionally-hang">#conditionally-hang</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-conditionally-hang">4.1.3. Phase II: Trimming and Positioning</a> <a href="#ref-for-conditionally-hang①">(2)</a> <a href="#ref-for-conditionally-hang②">(3)</a> <a href="#ref-for-conditionally-hang③">(4)</a> <a href="#ref-for-conditionally-hang④">(5)</a> <a href="#ref-for-conditionally-hang⑤">(6)</a>
    <li><a href="#ref-for-conditionally-hang⑥">8.2. 
    Hanging Glyphs</a>
    <li><a href="#ref-for-conditionally-hang⑦">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="propdef-hanging-punctuation">
   <b><a href="#propdef-hanging-punctuation">#propdef-hanging-punctuation</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-propdef-hanging-punctuation①">8. 
  Edge Effects</a>
    <li><a href="#ref-for-propdef-hanging-punctuation②">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-propdef-hanging-punctuation③">(2)</a>
    <li><a href="#ref-for-propdef-hanging-punctuation④">8.3. 
Bidirectionality and Line Boxes</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-hanging-punctuation-force-end">
   <b><a href="#valdef-hanging-punctuation-force-end">#valdef-hanging-punctuation-force-end</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-hanging-punctuation-force-end">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-valdef-hanging-punctuation-force-end①">(2)</a>
    <li><a href="#ref-for-valdef-hanging-punctuation-force-end②"> Changes from the 12 December 2018 Working Draft</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="valdef-hanging-punctuation-allow-end">
   <b><a href="#valdef-hanging-punctuation-allow-end">#valdef-hanging-punctuation-allow-end</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-valdef-hanging-punctuation-allow-end">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-valdef-hanging-punctuation-allow-end①">(2)</a>
    <li><a href="#ref-for-valdef-hanging-punctuation-allow-end②"> Changes from the 12 December 2018 Working Draft</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="stop-or-comma">
   <b><a href="#stop-or-comma">#stop-or-comma</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-stop-or-comma">8.2.1. 
    Hanging Punctuation: the hanging-punctuation property</a> <a href="#ref-for-stop-or-comma①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="block-scripts">
   <b><a href="#block-scripts">#block-scripts</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-block-scripts">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-block-scripts①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="clustered-scripts">
   <b><a href="#clustered-scripts">#clustered-scripts</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-clustered-scripts">6.4.5. 
Minimum Requirements for auto Justification</a> <a href="#ref-for-clustered-scripts①">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="cursive-script">
   <b><a href="#cursive-script">#cursive-script</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-cursive-script">6.4.4. 
Cursive Scripts</a> <a href="#ref-for-cursive-script①">(2)</a>
    <li><a href="#ref-for-cursive-script②">7.2.1. 
Cursive Scripts</a> <a href="#ref-for-cursive-script③">(2)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="unicode-east-asian-width">
   <b><a href="#unicode-east-asian-width">#unicode-east-asian-width</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-unicode-east-asian-width">4.1.2. 
      Segment Break Transformation Rules</a> <a href="#ref-for-unicode-east-asian-width①">(2)</a> <a href="#ref-for-unicode-east-asian-width②">(3)</a> <a href="#ref-for-unicode-east-asian-width③">(4)</a>
    <li><a href="#ref-for-unicode-east-asian-width④">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-unicode-east-asian-width⑤">(2)</a>
    <li><a href="#ref-for-unicode-east-asian-width⑥"> Appendix D: Scripts and Spacing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="unicode-general-category">
   <b><a href="#unicode-general-category">#unicode-general-category</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-unicode-general-category">4. 
  White Space Processing Details</a> <a href="#ref-for-unicode-general-category①">(2)</a>
    <li><a href="#ref-for-unicode-general-category②">4.1.2. 
      Segment Break Transformation Rules</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="unicode-script">
   <b><a href="#unicode-script">#unicode-script</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-unicode-script">4. 
  White Space Processing Details</a>
    <li><a href="#ref-for-unicode-script①"> Appendix D: Scripts and Spacing</a> <a href="#ref-for-unicode-script②">(2)</a> <a href="#ref-for-unicode-script③">(3)</a> <a href="#ref-for-unicode-script④">(4)</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="writing-system-chinese">
   <b><a href="#writing-system-chinese">#writing-system-chinese</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-writing-system-chinese">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-writing-system-chinese①">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-writing-system-chinese②">(2)</a> <a href="#ref-for-writing-system-chinese③">(3)</a>
    <li><a href="#ref-for-writing-system-chinese④"> Appendix D: Scripts and Spacing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="writing-system-japanese">
   <b><a href="#writing-system-japanese">#writing-system-japanese</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-writing-system-japanese">4.1.2. 
      Segment Break Transformation Rules</a>
    <li><a href="#ref-for-writing-system-japanese①">5.3. 
    Line Breaking Strictness: the line-break property</a> <a href="#ref-for-writing-system-japanese②">(2)</a> <a href="#ref-for-writing-system-japanese③">(3)</a>
    <li><a href="#ref-for-writing-system-japanese④"> Appendix D: Scripts and Spacing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="writing-system-korean">
   <b><a href="#writing-system-korean">#writing-system-korean</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-writing-system-korean"> Appendix D: Scripts and Spacing</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="kana-small">
   <b><a href="#kana-small">#kana-small</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-kana-small">2.1. 
    Case Transforms: the text-transform property</a>
   </ul>
  </aside>
  <aside class="dfn-panel" data-for="kana-full-size">
   <b><a href="#kana-full-size">#kana-full-size</a></b><b>Referenced in:</b>
   <ul>
    <li><a href="#ref-for-kana-full-size">2.1. 
    Case Transforms: the text-transform property</a>
   </ul>
  </aside>
<script>/* script-caniuse-panel */

            window.addEventListener("load", function(){
                var panels = [].slice.call(document.querySelectorAll(".caniuse-status"));
                for(var i = 0; i < panels.length; i++) {
                    var panel = panels[i];
                    var dfn = document.querySelector("#" + panel.getAttribute("data-dfn-id"));
                    var rect = dfn.getBoundingClientRect();
                    panel.style.top = (window.scrollY + rect.top) + "px";
                }
            });
            document.body.addEventListener("click", function(e) {
                if(e.target.classList.contains("caniuse-panel-btn")) {
                    e.target.parentNode.classList.toggle("wrapped");
                }
            });</script>
<script>/* script-dfn-panel */

document.body.addEventListener("click", function(e) {
    var queryAll = function(sel) { return [].slice.call(document.querySelectorAll(sel)); }
    // Find the dfn element or panel, if any, that was clicked on.
    var el = e.target;
    var target;
    var hitALink = false;
    while(el.parentElement) {
        if(el.tagName == "A") {
            // Clicking on a link in a <dfn> shouldn't summon the panel
            hitALink = true;
        }
        if(el.classList.contains("dfn-paneled")) {
            target = "dfn";
            break;
        }
        if(el.classList.contains("dfn-panel")) {
            target = "dfn-panel";
            break;
        }
        el = el.parentElement;
    }
    if(target != "dfn-panel") {
        // Turn off any currently "on" or "activated" panels.
        queryAll(".dfn-panel.on, .dfn-panel.activated").forEach(function(el){
            el.classList.remove("on");
            el.classList.remove("activated");
        });
    }
    if(target == "dfn" && !hitALink) {
        // open the panel
        var dfnPanel = document.querySelector(".dfn-panel[data-for='" + el.id + "']");
        if(dfnPanel) {
            dfnPanel.classList.add("on");
            var rect = el.getBoundingClientRect();
            dfnPanel.style.left = window.scrollX + rect.right + 5 + "px";
            dfnPanel.style.top = window.scrollY + rect.top + "px";
            var panelRect = dfnPanel.getBoundingClientRect();
            var panelWidth = panelRect.right - panelRect.left;
            if(panelRect.right > document.body.scrollWidth && (rect.left - (panelWidth + 5)) > 0) {
                // Reposition, because the panel is overflowing
                dfnPanel.style.left = window.scrollX + rect.left - (panelWidth + 5) + "px";
            }
        } else {
            console.log("Couldn't find .dfn-panel[data-for='" + el.id + "']");
        }
    } else if(target == "dfn-panel") {
        // Switch it to "activated" state, which pins it.
        el.classList.add("activated");
        el.style.left = null;
        el.style.top = null;
    }

});
</script>